From bcdfa348b3db7e2dca064d49377063921ab56995 Mon Sep 17 00:00:00 2001 From: Andrew Scheller Date: Fri, 1 Apr 2016 14:59:40 +0100 Subject: [PATCH] Prevent errors when enabling "Fast" network boot multiple times Fixes #17 --- raspi-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raspi-config b/raspi-config index 7825286..578be17 100755 --- a/raspi-config +++ b/raspi-config @@ -863,7 +863,7 @@ do_wait_for_network() { if [ $? -eq 0 ]; then case "$RET" in Fast) - rm /etc/systemd/system/dhcpcd.service.d/wait.conf + rm -f /etc/systemd/system/dhcpcd.service.d/wait.conf ;; Slow) mkdir -p /etc/systemd/system/dhcpcd.service.d/