diff --git a/chapter08/openrc.xml b/chapter08/openrc.xml index 4bba8582a..4a4878d05 100644 --- a/chapter08/openrc.xml +++ b/chapter08/openrc.xml @@ -43,7 +43,7 @@ Fix a script to allow a normal installation: -sed -i '/set\ -u/d' tools/meson_final.sh +sed -i '/set -u/d' tools/meson_final.sh Prepare OpenRC for compilation: diff --git a/chapter09/usage.xml b/chapter09/usage.xml index efba5c5c0..beaa8a193 100644 --- a/chapter09/usage.xml +++ b/chapter09/usage.xml @@ -91,7 +91,7 @@ services: for i in $(seq 1 6); do - ln -sv agetty /etc/init.d/agetty.tty$i + ln -sfv agetty /etc/init.d/agetty.tty$i rc-update add agetty.tty$i default done @@ -148,6 +148,7 @@ start() } EOF +chmod +x /etc/init.d/udevd rc-update add udevd boot