diff options
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 |
commit | 124221d44a8f210de39b71016f3f0b18605d85c9 (patch) | |
tree | 32f353f5ba361930ac0fe372202b5a9761fdf7fc /make_slackware_live.sh | |
parent | 484ae7a2429c13904da398189047e6240582d8e2 (diff) | |
download | liveslak-124221d44a8f210de39b71016f3f0b18605d85c9.tar.gz liveslak-124221d44a8f210de39b71016f3f0b18605d85c9.tar.xz |
Quell the noise generated by dhcpcd on boot
Diffstat (limited to '')
-rwxr-xr-x | make_slackware_live.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh index 1b7eb19..2f91d89 100755 --- a/make_slackware_live.sh +++ b/make_slackware_live.sh @@ -2351,6 +2351,10 @@ tar -C ${LIVE_ROOTDIR}/boot/initrd-tree/ -xf ${DHCPD_PKG} \ var/lib/dhcpcd lib/dhcpcd sbin/dhcpcd usr/lib${DIRSUFFIX}/dhcpcd \ etc/dhcpcd.conf.new mv ${LIVE_ROOTDIR}/boot/initrd-tree/etc/dhcpcd.conf{.new,} +# Stamp the Slackware version into the initrd (at least dhcpcd needs this): +mkdir -p ${LIVE_ROOTDIR}/boot/initrd-tree/etc/rc.d +cp -a ${LIVE_ROOTDIR}/etc/slackware-version ${LIVE_ROOTDIR}/etc/os-release \ + ${LIVE_ROOTDIR}/boot/initrd-tree/etc/ if [ "$NFSROOTSUP" = "YES" ]; then # Add just the right kernel network modules by pruning unneeded stuff: if [ "$SL_ARCH" = "x86_64" -o "$SMP32" = "NO" ]; then |