ref: 26b72a3d19c6272c75a6644608ae20fa9c4b5d4e
dir: /rc/bin/sysupdate/
#!/bin/rc
rfork en
cd /
if(! test -d .git)
bind -ac /dist/plan9front /
if(! ~ `{git/branch} heads/front)
>[1=2] echo sysupdate: must be on "front" branch to pull
if not
git/pull -u gits://git.9front.org/plan9front/plan9front