aboutsummaryrefslogtreecommitdiff
path: root/misc/xfeast
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-13 17:32:58 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-13 17:32:58 -0200
commita64487d5db57b9e281a5953b082618d2c1fca8a4 (patch)
treebfd1f26e5eaccf9cfd3d2809a49161beceb7f9b6 /misc/xfeast
parentf6978c1b28db3308808f2e303c607047f97a96c5 (diff)
downloadscripts-a64487d5db57b9e281a5953b082618d2c1fca8a4.tar.gz
scripts-a64487d5db57b9e281a5953b082618d2c1fca8a4.tar.bz2
Removing old scripts and cleaning up some code
Diffstat (limited to 'misc/xfeast')
-rwxr-xr-xmisc/xfeast15
1 files changed, 0 insertions, 15 deletions
diff --git a/misc/xfeast b/misc/xfeast
deleted file mode 100755
index 8a8504a..0000000
--- a/misc/xfeast
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/bash
-#
-# xfeast: execute silc gateway
-#
-
-pid="$HOME/tmp/silc.pid"
-if [[ -f "$pid" ]]; then
- if `ps $pid | grep -q $pid`; then
- kill `cat $pid`
- fi
- rm $pid
-fi
-netcat -l -p 1706 -e "/usr/bin/feast .feast.conf" &
-echo "$!" > $pid
-trap "kill `cat $pid`" 2 15