std/python: Add missing trailing comma + `make format`
[sunny256-utils.git] / disable_ipv6
blob4c879fed320c835a87f89099c163b3fe39e79dc1
1 #!/bin/sh
3 # File ID: 1fcb061a-fa4e-11e6-8927-f74d993421b0
5 progname=disable_ipv6
6 rcfile="$HOME/.${progname}rc"
8 test -e "$rcfile" || {
9 echo $progname: $rcfile: File not found >&2
10 echo $progname: Create it to enable the script here >&2
11 exit 1
14 for f in $(find /proc/sys/net | grep /disable_ipv6\$); do
15 echo $progname: Old value in $f: $(cat $f)
16 echo 1 >$f
17 done
19 # vim: set ts=8 sw=8 sts=8 noet fo+=w tw=79 fenc=UTF-8 :