# HG changeset patch # User Dominique Corbex # Date 1223313433 -7200 # Node ID 7f21235a6721eb06042a370a60d02098622c6193 # Parent fd13f7f143da077fd32d2ca98170f38623d2fade acpid: unused files removed diff -r fd13f7f143da -r 7f21235a6721 acpid/stuff/acpid --- a/acpid/stuff/acpid Mon Oct 06 19:15:21 2008 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,55 +0,0 @@ -#!/bin/sh -# /etc/init.d/acpid: Start, stop and restart acpid deamon on SliTaz, at boot -# time or with the command line. -# -# To start daemon at boot time, just put the right name in the $RUN_DAEMONS -# variable of /etc/rcS.conf and configure options with /etc/daemons.conf. -# -. /etc/init.d/rc.functions -. /etc/daemons.conf - -NAME=acpid -DESC="ACPI event deamon" -DAEMON=/usr/sbin/acpid -OPTIONS=$ACPID_OPTIONS -PIDFILE=/var/run/acpid.pid - -case "$1" in - start) - if [ -f $PIDFILE ] ; then - echo "$NAME already running." - exit 1 - fi - echo -n "Starting $DESC: $NAME... " - $DAEMON $OPTIONS > /dev/null - status - ;; - stop) - if [ ! -f $PIDFILE ] ; then - echo "$NAME is not running." - exit 1 - fi - echo -n "Stopping $DESC: $NAME... " - kill `cat $PIDFILE` - status - ;; - restart) - if [ ! -f $PIDFILE ] ; then - echo "$NAME is not running." - exit 1 - fi - echo -n "Restarting $DESC: $NAME... " - kill `cat $PIDFILE` - sleep 2 - $DAEMON $OPTIONS > /dev/null - status - ;; - *) - echo "" - echo -e "\033[1mUsage:\033[0m /etc/init.d/`basename $0` [start|stop|restart]" - echo "" - exit 1 - ;; -esac - -exit 0 diff -r fd13f7f143da -r 7f21235a6721 acpid/stuff/power --- a/acpid/stuff/power Mon Oct 06 19:15:21 2008 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,4 +0,0 @@ -# This is a sample ACPID configuration - -event=button power.* -action=/usr/bin/desktopbox logout