Plan 9 from Bell Labs’s /usr/web/sources/plan9/rc/bin/homespool

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


#!/bin/rc

echo creating spool directory
mkdir $home/spool
chmod 777 $home/spool
echo creating ctrl directory
mkdir $home/spool/ctrl
chmod 775 $home/spool/ctrl
echo creating seqno file
touch $home/spool/ctrl/seqno
echo creating options file
chmod 222 $home/spool/ctrl/seqno
cat >$home/spool/ctrl/options <<EOF
facedown
nobanner
	$user
EOF

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.