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