X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/32c5b5deea14db3f023b8c7ea7edb059a0c0a325..a326b13fc33aa2e424ce38ea0cee76eb73179d0f:/LiveCDGUI/VTOY/init diff --git a/LiveCDGUI/VTOY/init b/LiveCDGUI/VTOY/init index 957d417..afd457a 100644 --- a/LiveCDGUI/VTOY/init +++ b/LiveCDGUI/VTOY/init @@ -82,10 +82,23 @@ fi mkdir -p /union/opt/scripts/ echo 123 > /union/opt/scripts/extras + +echo "c2::respawn:/sbin/agetty --autologin root 38400 tty2 linux" >> /union/etc/inittab +echo "c3::respawn:/sbin/agetty --autologin root 38400 tty3 linux" >> /union/etc/inittab +echo "c4::respawn:/sbin/agetty --autologin root 38400 tty4 linux" >> /union/etc/inittab + + +sed "s/root:[^:]*:/root::/g" -i /union/etc/shadow +rm -f /union/etc/X11/xorg.conf.d/10-xorg.conf rm -f /union/lib64/udev/rules.d/10-kiosk-auto_mount.rules cp -a /VTOY/autostart /union/etc/xdg/openbox/autostart cp -a /VTOY/*.png /union/ventoy/ +mkdir -p /union/usr/local/sbin +mv /VTOY/ntfs-3g.tar.gz /union/usr/local/sbin/ +mv /VTOY/busybox /union/usr/local/sbin/ + + cp -a /bin/busybox /union/bin; ln -sf /union/lib /lib cp -a /VTOY/wallpaper.png /union/usr/share/wallpapers/ 2>/dev/null