shithub: riscv

ref: e9cd41467e5598d5c61bd04bf52d96ccd75472ca
dir: /rc/bin/homespool/

View raw version
#!/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