changelog shortlog tags branches changeset files revisions annotate raw help

Mercurial > hg > plan9front / rc/bin/homespool

changeset 7243: 34f64dcbbc25
parent: efddda59690a
author: cinap_lenrek@felloff.net
date: Fri, 17 May 2019 18:14:10 +0200
permissions: -rwxr-xr-x
description: 7l: don't hardcode 4k pagesize, use INITRND
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