summaryrefslogtreecommitdiff
path: root/rc/bin/inst/watchfd
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2013-10-26 20:17:56 +0200
committercinap_lenrek <cinap_lenrek@gmx.de>2013-10-26 20:17:56 +0200
commit0d378e905e4df6266d9fc9243e7ed735e12d839b (patch)
tree588fa45dabe85b0f58f9993928db9bb1812434d6 /rc/bin/inst/watchfd
parent744dbd6bb8532d6add6b00a16a794fd037caadbf (diff)
downloadplan9front-0d378e905e4df6266d9fc9243e7ed735e12d839b.tar.xz
inst: cleanup installer making it not rely on path containing .
always explicitely execute installer modules with ./name instead of relying that the path contians the dot.
Diffstat (limited to 'rc/bin/inst/watchfd')
-rwxr-xr-xrc/bin/inst/watchfd17
1 files changed, 0 insertions, 17 deletions
diff --git a/rc/bin/inst/watchfd b/rc/bin/inst/watchfd
deleted file mode 100755
index d836abd8d..000000000
--- a/rc/bin/inst/watchfd
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/rc
-
-p=`{ps | grep $1 | sed 's/[^ ]* +([^ ]+) .*/\1/' }
-while(! ~ $#p 1) {
- sleep 1
- p=`{ps | grep $1 | sed 's/[^ ]* +([^ ]+) .*/\1/'}
-}
-p=$p(1)
-
-baropt='-w 145,129,445,168'
-if(~ $textinst 1)
- baropt=-t
-
-{
- while(test -f /proc/$p/fd)
- grep '^ *'^$2^' ' /proc/$p/fd >[2]/dev/null
-} | awk '{print $9 " '^$3^'"; fflush("/dev/stdout")}' | aux/statusbar $baropt $4