]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Fix online-flagfile creation on red dhcp
authorArne Fitzenreiter <arne_f@ipfire.org>
Sat, 13 Jun 2009 08:33:31 +0000 (10:33 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sat, 13 Jun 2009 08:33:31 +0000 (10:33 +0200)
This also fix dhcpcd restart on connscheduler reconnect

src/initscripts/init.d/networking/red

index 57393842284773133cda5a7f5a949088b4f3eb00..6ac87aae361255268d0b7d9dd446682d571ccdff 100644 (file)
@@ -180,6 +180,7 @@ case "${1}" in
                                echo "$GATEWAY gateway"  >> /tmp/hosts
                                mv /tmp/hosts /etc/hosts
                                echo "$GATEWAY" > /var/ipfire/red/remote-ipaddress
                                echo "$GATEWAY gateway"  >> /tmp/hosts
                                mv /tmp/hosts /etc/hosts
                                echo "$GATEWAY" > /var/ipfire/red/remote-ipaddress
+                               touch /var/ipfire/red/active
                        else
                                echo ""
                                $(exit "$RET")
                        else
                                echo ""
                                $(exit "$RET")