From ada39fd98c5a2822c372e5c18e960aef0fb21988 Mon Sep 17 00:00:00 2001 From: xfnw Date: Sat, 16 Apr 2022 22:17:11 -0400 Subject: [PATCH] newuser script --- sys/lib/newuser | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/sys/lib/newuser b/sys/lib/newuser index 1cc2e6ad5..15d8d90f2 100755 --- a/sys/lib/newuser +++ b/sys/lib/newuser @@ -20,6 +20,7 @@ cat > lib/profile < '#m/mousectl' prompt=('term% ' ' ') fn term%{ $x^* } - rio + rio -sb -i riostart case cpu bind /mnt/term/dev/cons /dev/cons bind -q /mnt/term/dev/consctl /dev/consctl @@ -46,6 +47,8 @@ case cpu prompt=('cpu% ' ' ') fn cpu%{ $x^* } if(! test -e /mnt/term/dev/wsys){ + prompt=('draw% ' ' ') + fn draw%{ $x^* } # call from drawterm if(test -e /mnt/term/dev/secstore){ auth/factotum -n @@ -57,12 +60,20 @@ case cpu webcookies webfs plumber - rio + rio -sb -i riostart } case con prompt=('cpu% ' ' ') } ! +cat > bin/rc/riostart < lib/plumbing <