]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/lib/newuser
fix mistake in /sys/lib/dist/mkfile
[plan9front.git] / sys / lib / newuser
index 4f2e02145117835e9f17968fe74a195304481d71..3fae08d4d1a6114445054b7e57a5e0d371aaa66c 100755 (executable)
@@ -10,19 +10,25 @@ cd $home
 x='$'
 mkdir bin bin/rc bin/mips bin/386 bin/power bin/arm
 mkdir lib tmp
+touch lib/webcookies
+chmod 600 lib/webcookies
 chmod +t tmp
+bind -qc /n/other/usr/$user/tmp $home/tmp
 bind -c $home/tmp /tmp
-
 mail -c
 auth/cron -c
 
 cat > lib/profile <<!
 bind -a $x^home/bin/rc /bin
 bind -a $x^home/bin/$x^cputype /bin
+mount -qC /srv/cwfs /n/other other
+bind -qc /n/other/usr/$x^user/tmp $x^home/tmp
 bind -c $x^home/tmp /tmp
 font = /lib/font/bit/pelm/euro.9.font
 switch($x^service){
 case terminal
+       webcookies
+       webfs
        plumber
        startupasfs
        echo -n accelerated > '#m/mousectl'
@@ -43,7 +49,6 @@ case cpu
        prompt=('cpu% ' '       ')
        fn cpu%{ $x^* }
        startupasfs
-       news
        if (! test -e /mnt/term/mnt/wsys) {
                # cpu call from drawterm
                font=/lib/font/bit/pelm/latin1.8.font
@@ -54,13 +59,13 @@ case cpu
 case con
        prompt=('cpu% ' '       ')
        startupasfs
-       news
 }
 !
 cat > lib/plumbing <<!
 # to update: cp /usr/$user/lib/plumbing /mnt/plumb/rules
 
-editor = acme
+editor = sam
+browser = mothra
 
 include basic