mirror of
https://github.com/brain-hackers/brain-config.git
synced 2024-12-23 04:30:06 +09:00
Merge pull request #22 from lurch/patch-2
Prevent errors when enabling "Fast" network boot multiple times
This commit is contained in:
commit
74e81c1c89
@ -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/
|
||||||
|
Loading…
Reference in New Issue
Block a user