#!/bin/rc#hg clone -e '/bin/openssh/ssh -2' ssh://hg@bitbucket.org/rminnich/sysfromiso# run this from the sysfromiso directoryhget -v http://plan9.bell-labs.com/plan9/download/plan9.iso.bz2>/tmp/iso.bz2 |[2]aux/statusbar plan9.isorc -c 'cd /tmp; bunzip2 iso.bz2'9660srv -f /tmp/iso isomount /srv/iso /n/isobind -ac . .bind -b /n/iso .x=`{date}hg commit -m $"xape/psh<<EOFhg push -e '/bin/openssh/ssh -2' EOFrm /srv/iso /tmp/iso /tmp/iso.bz2
#!/bin/rc
#hg clone -e '/bin/openssh/ssh -2' ssh://hg@bitbucket.org/rminnich/sysfromiso
# run this from the sysfromiso directory
hget -v http://plan9.bell-labs.com/plan9/download/plan9.iso.bz2>/tmp/iso.bz2 |[2]aux/statusbar plan9.iso
rc -c 'cd /tmp; bunzip2 iso.bz2'
9660srv -f /tmp/iso iso
mount /srv/iso /n/iso
bind -ac . .
bind -b /n/iso .
x=`{date}
hg commit -m $"x
ape/psh<<EOF
hg push -e '/bin/openssh/ssh -2'
EOF
rm /srv/iso /tmp/iso /tmp/iso.bz2