change the way 98_qemu_login works
This commit is contained in:
parent
e9853dbd4f
commit
c5c0e5b89c
@ -1,7 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
if qemu-fwcfg -q opt/org.toaruos.forceuser then true else exit 0
|
||||
|
||||
export-cmd QEMU_USER qemu-fwcfg opt/org.toaruos.forceuser
|
||||
|
||||
if empty? "$QEMU_USER" then true else /bin/getty -a "$QEMU_USER"
|
||||
if empty? "$QEMU_USER" then true else reboot
|
||||
/bin/getty -a "$QEMU_USER"
|
||||
reboot
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user