Blob Blame History Raw
2006-03-18  Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>

	- scripts/kismet.in: disable jobcontrol which simply does
	  not work: when starting the server with 'kismet_server
	  ... &', write operations will result into a SIGTTOU
	  causing malfunctions. So, it is better not to use job
	  control which seems to be required for specifying the
	  last job only. A plain 'wait' will suffice there.

--- kismet-2005-08-R1/scripts/kismet.in.jobcontrol	2005-08-16 03:22:38.000000000 +0200
+++ kismet-2005-08-R1/scripts/kismet.in	2006-03-18 11:52:24.000000000 +0100
@@ -7,8 +7,6 @@
 
 GREP_OPTIONS=""
 
-set -m
-
 gui=`grep -e "^gui=" ${ETC}/kismet_ui.conf | cut -d= -f2 | tr -d " \t"`
 piddir=`grep -e "^piddir=" ${ETC}/kismet.conf | cut -d= -f2 | tr -d " \t"`
 
@@ -74,7 +72,7 @@
 if test "$?" != "5"; then
 	echo "Killing server..."
 	kill $servpid
-	wait %-
+	wait
 fi
 
 echo "Kismet exited."