chiark
/
gitweb
/
~ian
/
hippotat.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wip ownsource, before system stuff
[hippotat.git]
/
fake-userv
diff --git
a/fake-userv
b/fake-userv
index 6f5da404a788eb883086be4b45ed4d18ce16b4cd..1678fae3ffc05d674afa7a8b79d582b3cc13c3a0 100755
(executable)
--- a/
fake-userv
+++ b/
fake-userv
@@
-1,11
+1,9
@@
#!/bin/sh
#!/bin/sh
-set -e
+set -e
x
echo >&2 "$0: invoked as $0 $*"
echo >&2 "$0: invoked as $0 $*"
-shift
-shift
exec 3<&0 4>&1 5>&2 >&2 </dev/null
exec 3<&0 4>&1 5>&2 >&2 </dev/null
-exec xterm -T netns -e unshare -n -- sh -xc '
-
../userv-utils.git/ipif/service \* --
"$@" <&3 >&4 2>&5 &
+exec xterm -
geometry -0+0 -
T netns -e unshare -n -- sh -xc '
+ "$@" <&3 >&4 2>&5 &
sleep 0.1
env - bash -i
' x "$@"
sleep 0.1
env - bash -i
' x "$@"