Some SlackBuild scripts for Slackware.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
slackbuilds/pasture/acpid/rc.acpid

23 lines
284 B

#!/bin/sh
# Start/stop/restart acpid.
case "$1" in
start)
echo "Starting ACPI daemon: /usr/sbin/acpid"
/usr/sbin/acpid -n
;;
stop)
killall acpid
;;
restart)
$0 stop
sleep 1
$0 start
;;
*)
echo "usage $0 start|stop|restart"
;;
esac