ref: 3142af56d8e76ed73d9bc3591f910104a8b2a8b2
parent: 43eed8d82418192a4207e45e75a6b0d975d77d4e
author: cinap_lenrek <[email protected]>
date: Wed Oct 23 19:44:25 EDT 2013
newuser: make lib/profile read drawterms /dev/secstore when available
--- a/sys/lib/newuser
+++ b/sys/lib/newuser
@@ -46,7 +46,13 @@
fn cpu%{ $x^* }
if(! test -e /mnt/term/dev/wsys){
# call from drawterm
- auth/factotum
+ if(test -e /mnt/term/dev/secstore){
+ auth/factotum -n
+ read -m /mnt/term/dev/secstore >/mnt/factotum/ctl
+ echo >/mnt/term/dev/secstore
+ }
+ if not
+ auth/factotum
webcookies
webfs
plumber