]> git.lizzy.rs Git - plan9front.git/blob - rc/bin/sysupdate
asaudit: check factotum key ; netaudit: mention asaudit
[plan9front.git] / rc / bin / sysupdate
1 #!/bin/rc
2 rfork en
3 source=https://code.9front.org/hg/plan9front
4 cd /
5 if(! test -d .hg)
6         bind -ac /dist/plan9front /
7 while(! ~ $#* 0){
8         switch($1){
9         case -i
10                 hg incoming $source
11         case *
12                 echo usage: sysupdate '[-i]' >[1=2]
13                 exit usage
14         }
15         shift
16 }
17 hg -v pull -u $source