Files
binary-repo/sys/apps/openrc/openrc.sysconf
T
2023-01-17 11:25:25 +00:00

12 lines
370 B
Bash

#!/bin/sh
if [ ! -f /var/lib/ymp/sysconf/openrc/postinst.done ] ; then
echo "Creating openrc runlevels"
for level in boot default nonetwork shutdown sysinit ; do
mkdir -p /etc/runlevels/$level
done
ln -s agetty /etc/init.d/agetty.tty1
rc-update add agetty.tty1 boot
touch /etc/fstab
touch /var/lib/ymp/sysconf/openrc/postinst.done
fi