]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
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 460c017b162741772fa12c058849f3422c4ac105..e57bc17f9ee4c8cd7a764cb7948e352556ceb620 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 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
 #
 #
 # Start services
 #