summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author R. Belmont <rb6502@users.noreply.github.com>2011-11-06 22:08:37 +0000
committer R. Belmont <rb6502@users.noreply.github.com>2011-11-06 22:08:37 +0000
commitb384d01bc376da24aed0d4fbf7fb07f8058d6ccf (patch)
tree39304daba264a028a7ee480c6027067d0b4d86b0 /src
parent089cfc42bcb1b984364781f9240060927e0f68d3 (diff)
syncing MESS (nw)
Diffstat (limited to 'src')
-rw-r--r--src/osd/sdl/taputil.sh16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/osd/sdl/taputil.sh b/src/osd/sdl/taputil.sh
index afc6cbd6665..669d652436e 100644
--- a/src/osd/sdl/taputil.sh
+++ b/src/osd/sdl/taputil.sh
@@ -1,10 +1,10 @@
#!/bin/sh
NAME=$2
-UID=`id -u $NAME`
+OURUID=`id -u $NAME`
HOSTIP=$4
EMUIP=$3
-TAP="tap-mess-$UID-0"
+TAP="tap-mess-$OURUID-0"
if [ `id -u` != "0" ]
then
@@ -23,12 +23,12 @@ fi
if [ "$#" != "5" ]
then
-echo "usage: mess-tap [-c] [-d] USER EMUADDR HOSTADDR MASK\n"
-echo "-c\t\tcreate interface"
-echo "-d\t\tdelete interface"
-echo "USER\t\tuser to own interface, required to delete"
-echo "EMUADDR\temulated machine ip address"
-echo "HOSTADDR\thost ip address"
+echo "usage: mess-tap [-c] [-d] USER EMUADDR HOSTADDR MASK"
+echo "-c create interface"
+echo "-d delete interface"
+echo "USER user to own interface, required to delete"
+echo "EMUADDR emulated machine ip address"
+echo "HOSTADDR host ip address"
exit
fi