SOURCES: hdapsd.sysconfig, hdapsd.init - updated

arekm arekm at pld-linux.org
Sun Mar 26 14:37:03 CEST 2006


Author: arekm                        Date: Sun Mar 26 12:37:03 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- updated

---- Files affected:
SOURCES:
   hdapsd.sysconfig (1.1 -> 1.2) , hdapsd.init (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/hdapsd.sysconfig
diff -u SOURCES/hdapsd.sysconfig:1.1 SOURCES/hdapsd.sysconfig:1.2
--- SOURCES/hdapsd.sysconfig:1.1	Sun Mar 26 14:32:06 2006
+++ SOURCES/hdapsd.sysconfig	Sun Mar 26 14:36:58 2006
@@ -1,2 +1,3 @@
-HDAPS_DEVICE="/dev/hda"
+HDAPS_DEVICE="hda"
+HDAPS_SENSITIVITY=15
 HDAPS_OPTIONS=""

================================================================
Index: SOURCES/hdapsd.init
diff -u SOURCES/hdapsd.init:1.1 SOURCES/hdapsd.init:1.2
--- SOURCES/hdapsd.init:1.1	Sun Mar 26 14:32:06 2006
+++ SOURCES/hdapsd.init	Sun Mar 26 14:36:58 2006
@@ -10,7 +10,8 @@
 # Source function library.
 . /etc/rc.d/init.d/functions
 
-HDAPS_DEVICE="/dev/hda"
+HDAPS_DEVICE="hda"
+HDAPS_SENSITIVITY=15
 
 # Configuration file.
 [ -f /etc/sysconfig/hdapsd ] && . /etc/sysconfig/hdapsd
@@ -23,7 +24,7 @@
 	# Start daemons.
 	if [ ! -f /var/lock/subsys/hdapsd ]; then
 		msg_starting hdapsd
-		daemon hdapsd -b ${HDAPS_DEVICE} ${HDAPS_OPTIONS}
+		daemon hdapsd -d ${HDAPS_DEVICE} -s ${HDAPS_SENSITIVITY} ${HDAPS_OPTIONS} -b
 		RETVAL=$?
 		[ $RETVAL -eq 0 ] && touch /var/lock/subsys/hdapsd
 	else
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/hdapsd.sysconfig?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/SOURCES/hdapsd.init?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list