]> git.proxmox.com Git - pve-installer.git/commitdiff
kill dhclient before rebooting
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 19 Oct 2017 08:25:05 +0000 (10:25 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 19 Oct 2017 08:39:01 +0000 (10:39 +0200)
this fixes the pesky unmount cdrom bug

unconfigured.sh

index ad5d20aff48b4363b1e2511bc010ed7cdca54a3e..ac8fa4542f2f071da6f64c124063c203522bc84a 100755 (executable)
@@ -95,6 +95,7 @@ fi
 
 echo "Installation done, rebooting... "
 #mdadm -S /dev/md0 >/dev/tty2 2>&1
+kill $(pidof dhclient) 2>&1 > /dev/null
 real_reboot
 
 # never reached