ref: 90fc5b6d063ec3e0923d59588bc2ad0eccd2adf4
parent: 665d3a232ee432e19d5292286305900f93b6ca22
author: glenda <glenda@9front.local>
date: Thu Feb 11 12:18:30 EST 2021
added profile
--- a/install/reinstall
+++ b/install/reinstall
@@ -1,6 +1,5 @@
#! /bin/rc
./fwupdate
-./git9
./hubfs
./antstools
./install-irc7.rc
--- /dev/null
+++ b/lib/profile
@@ -1,0 +1,31 @@
+bind -a $home/bin/rc /bin
+bind -a $home/bin/$cputype /bin
+if(! syscall create /tmp/xxx 1 0666 >[2]/dev/null)
+ ramfs # in case we're running off a cd
+# font=/lib/font/bit/vga/unicode.font
+font=/lib/font/bit/terminus/unicode.12.font
+switch($service){
+case terminal
+ if(! webcookies >[2]/dev/null)
+ webcookies -f /tmp/webcookies
+ webfs
+ plumber
+ echo -n accelerated > '#m/mousectl'
+ echo -n 'res 3' > '#m/mousectl'
+ prompt=('; ' ' ')
+ fn term%{ $* }
+ grio -i riostart
+case cpu
+ bind /mnt/term/dev/cons /dev/cons
+ bind -q /mnt/term/dev/consctl /dev/consctl
+ >[2] /dev/null {
+ cp /dev/sysname /mnt/term/dev/label
+ if(test -s /mnt/term/env/wsys)
+ wsys=/mnt/term^`{cat /mnt/term/env/wsys}
+ }
+ bind -a /mnt/term/dev /dev
+ prompt=('cpu% ' ' ')
+ fn cpu%{ $* }
+case con
+ prompt=('cpu% ' ' ')
+}