rpms/acpid/devel acpid.init,1.6,1.7
Zdenek Prikryl (zprikryl)
fedora-extras-commits at redhat.com
Tue Oct 23 15:06:15 UTC 2007
- Previous message (by thread): rpms/NetworkManager/F-8 .cvsignore, 1.57, 1.58 NetworkManager.spec, 1.180, 1.181 sources, 1.76, 1.77
- Next message (by thread): rpms/system-config-date/devel .cvsignore, 1.74, 1.75 sources, 1.78, 1.79 system-config-date.spec, 1.84, 1.85
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: zprikryl
Update of /cvs/extras/rpms/acpid/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21521
Modified Files:
acpid.init
Log Message:
Fixed initscript
Index: acpid.init
===================================================================
RCS file: /cvs/extras/rpms/acpid/devel/acpid.init,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- acpid.init 23 Oct 2007 08:51:40 -0000 1.6
+++ acpid.init 23 Oct 2007 15:05:39 -0000 1.7
@@ -30,19 +30,17 @@
start() {
# Check if it is already running
if [ ! -f /var/lock/subsys/acpid ]; then
- echo -n $"Starting acpi daemon: "
# Check if acpid is executable
if [ ! -x /usr/sbin/acpid ]; then
logger -p daemon.error -t $0 "/usr/sbin/acpid is not executable."
- echo_failure
exit 1
fi
# Check for kernel support
if [ ! -f /proc/acpi/event ]; then
logger -p daemon.error -t $0 "need ACPI_PROC_EVENT support in kernel."
- echo_failure
exit 1
fi
+ echo -n $"Starting acpi daemon: "
daemon /usr/sbin/acpid $@
RETVAL=$?
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/acpid
- Previous message (by thread): rpms/NetworkManager/F-8 .cvsignore, 1.57, 1.58 NetworkManager.spec, 1.180, 1.181 sources, 1.76, 1.77
- Next message (by thread): rpms/system-config-date/devel .cvsignore, 1.74, 1.75 sources, 1.78, 1.79 system-config-date.spec, 1.84, 1.85
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list