ref: b7b734bd5987b34bada728e103b0732153cbb784
dir: /rc/bin/sysupdate/
#!/bin/rc rfork n cd / incoming=1 switch($1){ case -h echo usage: sysupdate [-i] >[1=2] exit usage case -i incoming=0 } rfork n cd / if(! test -d .hg) bind -ac /dist/plan9front / if(~ $incoming 1) hg incoming hg -v pull -u