summaryrefslogtreecommitdiff
path: root/rc/bin
diff options
context:
space:
mode:
authoriru <devnull@localhost>2011-04-14 00:19:51 -0300
committeriru <devnull@localhost>2011-04-14 00:19:51 -0300
commitdd468419f2fbaa2c3fec570a88d13e8eae8f3faf (patch)
treed21a8922545dde7237e67dd68dc5742b0570259b /rc/bin
parent715570c24e89cea414feb181be3aee65df1ceec5 (diff)
downloadplan9front-dd468419f2fbaa2c3fec570a88d13e8eae8f3faf.tar.xz
Change installer to use statusbar(8) instead of bargraph and remove the latter.
Diffstat (limited to 'rc/bin')
-rwxr-xr-xrc/bin/inst/download2
-rwxr-xr-xrc/bin/inst/watchfd2
2 files changed, 2 insertions, 2 deletions
diff --git a/rc/bin/inst/download b/rc/bin/inst/download
index 70d7f5ba7..2af4fe9d0 100755
--- a/rc/bin/inst/download
+++ b/rc/bin/inst/download
@@ -33,7 +33,7 @@ case go
baropt='-w 145,129,445,168'
if(~ $textinst 1)
baropt=-t
- if(! hget -vo /n/newfs/dist/_plan9.iso.bz2 $installurl/plan9.iso.bz2 |[2] bargraph $baropt 'downloading '^plan9.iso.bz2)
+ if(! hget -vo /n/newfs/dist/_plan9.iso.bz2 $installurl/plan9.iso.bz2 |[2] aux/statusbar $baropt 'downloading '^plan9.iso.bz2)
exit
mv /n/newfs/dist/_plan9.iso.bz2 /n/newfs/dist/plan9.iso.bz2
if(~ $fstype fossil){
diff --git a/rc/bin/inst/watchfd b/rc/bin/inst/watchfd
index ca37294e3..d836abd8d 100755
--- a/rc/bin/inst/watchfd
+++ b/rc/bin/inst/watchfd
@@ -14,4 +14,4 @@ if(~ $textinst 1)
{
while(test -f /proc/$p/fd)
grep '^ *'^$2^' ' /proc/$p/fd >[2]/dev/null
-} | awk '{print $9 " '^$3^'"; fflush("/dev/stdout")}' | bargraph $baropt $4
+} | awk '{print $9 " '^$3^'"; fflush("/dev/stdout")}' | aux/statusbar $baropt $4