Merge pull request #22 from lurch/patch-2

Prevent errors when enabling "Fast" network boot multiple times
This commit is contained in:
XECDesign 2016-04-01 15:56:24 +01:00
commit 74e81c1c89

View File

@ -863,7 +863,7 @@ do_wait_for_network() {
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
case "$RET" in case "$RET" in
Fast) Fast)
rm /etc/systemd/system/dhcpcd.service.d/wait.conf rm -f /etc/systemd/system/dhcpcd.service.d/wait.conf
;; ;;
Slow) Slow)
mkdir -p /etc/systemd/system/dhcpcd.service.d/ mkdir -p /etc/systemd/system/dhcpcd.service.d/