3 FILE
='/etc/resolv.conf'
5 'nameserver 167.206.13.180
6 nameserver 167.206.13.181
7 nameserver 192.168.1.1'
14 for line
in "$CONTENT"
16 echo "$line" |
sed 's/^/#/'
21 chattr -i "$FILE" # Make mutable
31 chattr +i
"$FILE" # Make immutable
38 echo "usage: $0 SWITCH\n\nSWITCH = on | off"
This page took 0.06741 seconds and 4 git commands to generate.