ref: c63cd980a4f9d00360d63f61880e12c677bf4b70
dir: /rc/bin/sysupdate/
#!/bin/rc rfork en source=https://code.9front.org/hg/plan9front cd / if(! test -d .hg) bind -ac /dist/plan9front / while(! ~ $#* 0){ switch($1){ case -i hg incoming $source case * echo usage: sysupdate '[-i]' >[1=2] exit usage } shift } hg -v pull -u $source