9 lines
472 B
Plaintext
9 lines
472 B
Plaintext
if [ "${UPDATE}" = "no" ] && [ "${ACTION}" = "post" ]; then
|
|
mkdir -p etc/runit/runsvdir/default/
|
|
mkdir -p etc/sv/agetty-ttyS2/
|
|
ln -sf /etc/sv/sshd etc/runit/runsvdir/default/
|
|
ln -sf /etc/sv/dhcpcd etc/runit/runsvdir/default/
|
|
ln -sf /etc/sv/agetty-ttyS2 etc/runit/runsvdir/default/
|
|
cd etc/sv/agetty-ttyS2/ && ln -sf ../agetty-serial/conf conf && ln -sf ../agetty-generic/finish finish && ln -sf ../agetty-serial/run run && ln -sf /run/runit/supervise.agetty-ttyS2
|
|
fi
|