Signed-off-by: Andres Salomon <dilinger@debian.org>
TIMEOUT=20
PIDFILE=/var/run/autox.pid
-#moo() {
-
echo $$ > $PIDFILE
trap "rm -f $PIDFILE; killall -9 startx" 0
-#trap "killall startx" 0
fails=0
while true; do
exit 1
fi
done
-#}
-
-
-#input_dev=$(readlink -f /dev/stdin)
-#autox_daemon "$input_device" &
exit 0
# Required-Stop: $local_fs $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
-# Short-Description: Automatically start X as a user
+# Short-Description: Automatically start X on boot
### END INIT INFO
#
# Author: Andres Salomon <dilinger@debian.org>
# -- /dev/tty7
#start-stop-daemon --start --chuid olpc --verbose --background --make-pidfile --pidfile $PIDFILE --user olpc --exec $DAEMON -- /dev/tty7
#start-stop-daemon --start --verbose --background --make-pidfile --pidfile $PIDFILE --exec $DAEMON -- /dev/tty7
-start-stop-daemon --start --background --pidfile $PIDFILE --exec $DAEMON
+ start-stop-daemon --start --background --pidfile $PIDFILE \
+ --exec $DAEMON
#start-stop-daemon --start --quiet --exec $DAEMON -- $DAEMON_OPTS &
log_end_msg $?