summaryrefslogtreecommitdiffstats
path: root/liveinit.tpl
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2019-01-23 09:49:52 +0100
committer Eric Hameleers <alien@slackware.com>2019-01-23 09:49:52 +0100
commit124221d44a8f210de39b71016f3f0b18605d85c9 (patch)
tree32f353f5ba361930ac0fe372202b5a9761fdf7fc /liveinit.tpl
parent484ae7a2429c13904da398189047e6240582d8e2 (diff)
downloadliveslak-124221d44a8f210de39b71016f3f0b18605d85c9.tar.gz
liveslak-124221d44a8f210de39b71016f3f0b18605d85c9.tar.xz
Quell the noise generated by dhcpcd on boot
Diffstat (limited to '')
-rwxr-xr-xliveinit.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/liveinit.tpl b/liveinit.tpl
index 7bc9808..2d134e1 100755
--- a/liveinit.tpl
+++ b/liveinit.tpl
@@ -422,7 +422,7 @@ if [ "$RESCUE" = "" ]; then
continue # skip wireless interfaces
fi
# If this configures an interface, we're done with dhcpcd afterwards:
- /sbin/dhcpcd -L -p -t $DHCPWAIT $EDEV &
+ /sbin/dhcpcd -L -p -j /var/log/dhcpcd.log -t $DHCPWAIT $EDEV &
done
unset EDEV
# Wait at most DHCPWAIT seconds for a DHCP-configured interface to appear:
@@ -455,7 +455,7 @@ if [ "$RESCUE" = "" ]; then
if [ "$ENET_MODE" = "ask" -o "$ENET_MODE" = "dhcp" ]; then
# Invoke dhcpcd only if it was not called yet:
if [ ! -s $(get_dhcpcd_pid $INTERFACE) ]; then
- /sbin/dhcpcd -L -p -t $DHCPWAIT $INTERFACE
+ /sbin/dhcpcd -L -p -j /var/log/dhcpcd.log -t $DHCPWAIT $INTERFACE
fi
else
# Kill dhcpcd if we used it to find a statically configured interface: