Package: gkrellmd Version: 2.2.7-5 Followup-For: Bug #343505
I've patched gkrellmd.postinst to not use debhelper/dh_installinit because this installs the init script with priority 20. I've used the code generated by dh_installinit, but added priority 21. This should make gkrellmd start after hddtemp, therefor making hddtemp available for gkrellmd and make the temps be available to the gkrellm clients. -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.14-2-k7 Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages gkrellmd depends on: ii adduser 3.80 Add and remove users and groups ii gkrellm-common 2.2.7-5 multiple stacked system monitors: ii libc6 2.3.5-8.1 GNU C Library: Shared libraries an ii libglib2.0-0 2.8.4-2 The GLib library of C routines gkrellmd recommends no packages. -- no debconf information
--- gkrellmd.postinst-orig 2005-12-16 13:03:39.000000000 +0100 +++ gkrellmd.postinst 2005-12-16 13:58:15.000000000 +0100 @@ -5,6 +5,13 @@ adduser --system --home /var/run --disabled-login --disabled-password gkrellmd fi -#DEBHELPER# +if [ -x "/etc/init.d/gkrellmd" ]; then + update-rc.d gkrellmd defaults 21 >/dev/null + if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then + invoke-rc.d gkrellmd start || exit 0 + else + /etc/init.d/gkrellmd start || exit 0 + fi +fi exit 0

