aboutsummaryrefslogtreecommitdiffstats
path: root/src/msec/msecgui
diff options
context:
space:
mode:
Diffstat (limited to 'src/msec/msecgui')
-rwxr-xr-xsrc/msec/msecgui18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/msec/msecgui b/src/msec/msecgui
index ef440ba..b7c9162 100755
--- a/src/msec/msecgui
+++ b/src/msec/msecgui
@@ -8,24 +8,6 @@ if [ "`whoami`" != "root" ]; then
exit 1
fi
-LCK=/var/run/msec.pid
-
-function cleanup() {
- rm -f $LCK
-}
-
-if [ -f $LCK ]; then
- if [ -d /proc/`cat $LCK` ]; then
- exit 0
- else
- rm -f $LCK
- fi
-fi
-
-echo -n $$ > $LCK
-
-trap cleanup 0
-
MSEC=/usr/share/msec/msecgui.py
OPT="$@"