]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
dhcp: Fix syntax error in dhcpcd.exe.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 4 Nov 2011 14:07:34 +0000 (15:07 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 13 Nov 2011 14:10:03 +0000 (15:10 +0100)
http://forum.ipfire.org/index.php?topic=5418.msg38636#msg38636

src/initscripts/init.d/networking/dhcpcd.exe

index ac835c5b9ececccdcad03dc9a161e94bb2855464..d61c3d5f0243d9551883c8c302334df5af480c23 100644 (file)
@@ -39,7 +39,7 @@ dhcpcd_up()
                fi
 
                #Check if we have to restart the services at update
-               [ ! -e "/var/ipfire/red/active" ] update=1;
+               [ ! -e "/var/ipfire/red/active" ] && update=1;
                if [ "$old_domain_name_service" != "$new_domain_name_service" ]; then
                        update=1;
                fi