+# Author: Matthijs Kooijman <matthijs@stdin.nl>
+# This file is mostly built from the skeleton, but with PIDFILE and VERBOSE
+# stuff removed.. It starts hpasmd, without any extra crap or configs.
+
+# Just hpasmd is enough to be able to use hpasmcli and hplog, to send ASR pings
+# and to shutdown the system in case of thermal failure.
+
+PATH=/sbin:/usr/sbin:/bin:/usr/bin
+DESC="HP Advanced System Management Daemon"
+NAME=hpasmd
+DAEMON=/opt/compaq/hpasmd/bin/hpasmd
+DAEMON_ARGS=""
+SCRIPTNAME=/etc/init.d/$NAME
+
+# Exit if the package is not installed
+[ -x "$DAEMON" ] || exit 0
+
+# Read configuration variable file if it is present
+[ -r /etc/default/$NAME ] && . /etc/default/$NAME
+
+# Load the VERBOSE setting and other rcS variables
+. /lib/init/vars.sh
+
+# Define LSB log_* functions.
+# Depend on lsb-base (>= 3.0-6) to ensure that this file is present.
+. /lib/lsb/init-functions