core90: work around dhcp client hang at shutdown after update.
authorArne Fitzenreiter <arne_f@ipfire.org>
Wed, 13 May 2015 17:51:42 +0000 (19:51 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Wed, 13 May 2015 17:51:42 +0000 (19:51 +0200)
config/rootfiles/core/90/update.sh

index 460c017..e57bc17 100644 (file)
@@ -211,6 +211,10 @@ perl -e "require '/var/ipfire/lang.pl'; &Lang::BuildCacheLang"
 # Remove old udev configuration
 rm -vf /etc/udev/rules.d/30-persistent-network.rules
 
+# Remove pids from dhcp client because it hang at normal shutdown
+# so let the sysvinit kill it
+rm -f /run/dhcpcd-*.pid
+
 #
 # Start services
 #