]> git.lizzy.rs Git - plan9front.git/blob - rc/bin/homespool
inst: default dist location to /, use old cache format by default... will change...
[plan9front.git] / rc / bin / homespool
1 #!/bin/rc
2
3 echo creating spool directory
4 mkdir $home/spool
5 chmod 777 $home/spool
6 echo creating ctrl directory
7 mkdir $home/spool/ctrl
8 chmod 775 $home/spool/ctrl
9 echo creating seqno file
10 touch $home/spool/ctrl/seqno
11 echo creating options file
12 chmod 222 $home/spool/ctrl/seqno
13 cat >$home/spool/ctrl/options <<EOF
14 facedown
15 nobanner
16         $user
17 EOF