Prevent errors when enabling "Fast" network boot multiple times

Fixes #17
This commit is contained in:
Andrew Scheller 2016-04-01 14:59:40 +01:00
parent c00aa8d1cc
commit bcdfa348b3
1 changed files with 1 additions and 1 deletions

View File

@ -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/