diff -u hpfall-2.6.32/debian/changelog hpfall-2.6.32/debian/changelog --- hpfall-2.6.32/debian/changelog +++ hpfall-2.6.32/debian/changelog @@ -1,3 +1,9 @@ +hpfall (2.6.32-0pmjdebruijn2~lucid) lucid; urgency=low + + * Added default file for configuration. + + -- Pascal de Bruijn Fri, 23 Apr 2010 14:13:18 +0200 + hpfall (2.6.32-0pmjdebruijn1~lucid) lucid; urgency=low * New upstream release (taken from linux-2.6.32.11). diff -u hpfall-2.6.32/debian/control hpfall-2.6.32/debian/control --- hpfall-2.6.32/debian/control +++ hpfall-2.6.32/debian/control @@ -6,9 +6,9 @@ -Standards-Version: 3.8.0 +Standards-Version: 3.8.4 Package: hpfall Architecture: any -Depends: ${shlibs:Depends} +Depends: ${shlibs:Depends}, ${misc:Depends} Description: HP 3D DriveGuard daemon for HP/Compaq laptops This is a disk protection user-space daemon. It monitors the acceleration - values through the HDAPS or AMS interface and automatically initiates disk - head parking if a fall or sliding of the laptop is detected. + values through the STM LIS sensors and automatically initiates disk head + parking if a fall of the laptop is detected. diff -u hpfall-2.6.32/debian/hpfall.init hpfall-2.6.32/debian/hpfall.init --- hpfall-2.6.32/debian/hpfall.init +++ hpfall-2.6.32/debian/hpfall.init @@ -19,9 +19,11 @@ . /lib/lsb/init-functions +test -f /etc/default/hpfall && . /etc/default/hpfall + case "$1" in start) log_daemon_msg "Starting HP 3D DriveGuard protection daemon: " "$DAEMON" - start-stop-daemon --start --quiet --make-pidfile --pidfile $PIDFILE --background --name $DAEMON --exec /usr/sbin/$DAEMON + start-stop-daemon --start --quiet --make-pidfile --pidfile $PIDFILE --background --name $DAEMON --exec /usr/sbin/$DAEMON $DEVICE log_end_msg $? ;; stop) log_daemon_msg "Stopping HP 3D DriveGuard protection daemon: " "$DAEMON" @@ -30,7 +32,7 @@ ;; restart) log_daemon_msg "Restarting HP 3D DriveGuard protection daemon: " "$DAEMON" start-stop-daemon --stop --quiet --pidfile $PIDFILE --name $DAEMON - start-stop-daemon --start --quiet --make-pidfile --pidfile $PIDFILE --background --name $DAEMON --exec /usr/sbin/$DAEMON + start-stop-daemon --start --quiet --make-pidfile --pidfile $PIDFILE --background --name $DAEMON --exec /usr/sbin/$DAEMON $DEVICE log_end_msg $? ;; *) log_action_msg "Usage: /etc/init.d/$DAEMON {start|stop|restart}" only in patch2: unchanged: --- hpfall-2.6.32.orig/debian/hpfall.default +++ hpfall-2.6.32/debian/hpfall.default @@ -0,0 +1 @@ +DEVICE=/dev/sda