Enabled acpid. Changed network device names to legacy ones.
This commit is contained in:
parent
f57137e95f
commit
2656abba8d
@ -25,6 +25,7 @@ export DEBIAN_FRONTEND=noninteractive
|
|||||||
chroot ${TARGET} apt-get --yes install ${SOFTWARE}
|
chroot ${TARGET} apt-get --yes install ${SOFTWARE}
|
||||||
chroot ${TARGET} systemctl enable systemd-networkd.service
|
chroot ${TARGET} systemctl enable systemd-networkd.service
|
||||||
chroot ${TARGET} systemctl enable systemd-resolved.service
|
chroot ${TARGET} systemctl enable systemd-resolved.service
|
||||||
|
chroot ${TARGET} systemctl enable acpid.service
|
||||||
|
|
||||||
rm ${TARGET}/usr/sbin/policy-rc.d
|
rm ${TARGET}/usr/sbin/policy-rc.d
|
||||||
|
|
||||||
@ -61,6 +62,8 @@ EOF
|
|||||||
rm ${TARGET}/etc/resolv.conf
|
rm ${TARGET}/etc/resolv.conf
|
||||||
ln -s /run/systemd/resolve/resolv.conf ${TARGET}/etc/resolv.conf
|
ln -s /run/systemd/resolve/resolv.conf ${TARGET}/etc/resolv.conf
|
||||||
rm ${TARGET}/etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service
|
rm ${TARGET}/etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service
|
||||||
|
#use old network device names
|
||||||
|
ln -s /dev/null ${TARGET}/etc/systemd/network/99-default.link
|
||||||
cat << EOF > ${TARGET}/etc/screenrc
|
cat << EOF > ${TARGET}/etc/screenrc
|
||||||
startup_message off
|
startup_message off
|
||||||
defscrollback 5000
|
defscrollback 5000
|
||||||
@ -77,3 +80,4 @@ echo zfs >> ${TARGET}/etc/modules
|
|||||||
|
|
||||||
mkdir ${TARGET}/etc/bash_completion.d
|
mkdir ${TARGET}/etc/bash_completion.d
|
||||||
cp ${TARGET}/usr/share/bash-completion/completions/zfs ${TARGET}/etc/bash_completion.d/
|
cp ${TARGET}/usr/share/bash-completion/completions/zfs ${TARGET}/etc/bash_completion.d/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user