initrd update

This commit is contained in:
aliriza committed 2023-01-17 11:25:25 +00:00
1 parent 3542aa2f97
commit 48e9497e50
4 files changed
+44 -12

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
#!/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