mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
network: fix coding style
This commit is contained in:
@@ -26,7 +26,7 @@ shift
|
|||||||
|
|
||||||
if [ -n "${1}" ]; then
|
if [ -n "${1}" ]; then
|
||||||
ALL=0
|
ALL=0
|
||||||
for i in green red blue orange; do
|
for i in green red blue orange; do
|
||||||
eval "${i}=0"
|
eval "${i}=0"
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
@@ -68,7 +68,7 @@ case "${DO}" in
|
|||||||
rm -f /var/ipfire/red/{active,device,dial-on-demand,dns1,dns2,local-ipaddress,remote-ipaddress,resolv.conf}
|
rm -f /var/ipfire/red/{active,device,dial-on-demand,dns1,dns2,local-ipaddress,remote-ipaddress,resolv.conf}
|
||||||
[ "$AUTOCONNECT" == "off" ] || /etc/rc.d/init.d/networking/red start
|
[ "$AUTOCONNECT" == "off" ] || /etc/rc.d/init.d/networking/red start
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
stop)
|
stop)
|
||||||
|
|||||||
Reference in New Issue
Block a user