init
Signed-off-by: Nico Schottelius <nico@manager.schottelius.org>
This commit is contained in:
parent
256dc98754
commit
df2daf524d
641 changed files with 140617 additions and 12 deletions
33
gpm
Normal file
33
gpm
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
#! /bin/sh
|
||||
# Copyright (c) 1995-1998 S.u.S.E. GmbH Fuerth, Germany.
|
||||
#
|
||||
# Author:
|
||||
#
|
||||
# /sbin/init.d/gpm
|
||||
#
|
||||
# and symbolic its link
|
||||
#
|
||||
# /sbin/rcgpm
|
||||
#
|
||||
### BEGIN INIT INFO
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
gpm -m /dev/misc/psaux -t ps2
|
||||
;;
|
||||
stop)
|
||||
killall -TERM gpm
|
||||
;;
|
||||
restart|reload)
|
||||
$0 stop && $0 start
|
||||
;;
|
||||
status)
|
||||
echo -n "Checking for console mouse support (gpm): "
|
||||
checkproc /usr/sbin/gpm && echo OK || echo No process
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $0 {start|stop|status|restart|reload}"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
rc_exit
|
||||
Loading…
Add table
Add a link
Reference in a new issue