network/dhclient-script.sh: remove bashism

master
Harald Hoyer 2015-07-08 08:49:02 +02:00
parent 7ecb36aef4
commit 78362bc5fe
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ setup_interface() {
${preferred_lft:+preferred_lft ${preferred_lft}}

if [ -n "$gw" ] ; then
if [ "$mask" == "255.255.255.255" ] ; then
if [ "$mask" = "255.255.255.255" ] ; then
# point-to-point connection => set explicit route to gateway
echo ip route add $gw dev $netif > /tmp/net.$netif.gw
fi