mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-15 05:37:01 +02:00
8 lines
472 B
Text
8 lines
472 B
Text
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
|