mirror of
https://github.com/brain-hackers/brain-config.git
synced 2025-01-03 10:00:07 +09:00
Prevent errors when enabling "Fast" network boot multiple times
Fixes #17
This commit is contained in:
parent
c00aa8d1cc
commit
bcdfa348b3
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user