Hello.
o) Using "#!/bin/sh" instead of "#!/bin/bash" is better practice.
o) This block comes from /etc/init.d/dhcp3-server on Debian.
# Required-Start: $network
# Required-Stop: $network
# Should-Start: $local_fs
# Should-Stop: $local_fs
Does openhpid need $named and $remote_fs services?
Anton Pak
On Thu, 07 Feb 2008 08:38:54 +0300, Bryan Sutula <[EMAIL PROTECTED]>
wrote:
> I'm responding to a Debian bug report asking for an LSB Init Script
> block on the openhpid start-up script:
>
> http://bugs.debian.org/460216
>
> I propose we make that addition here, so that everyone benefits.
>
> Attached is a patch against top of trunk. It's just my best guess at
> what should go into this block. Does anyone here have experience with
> such things? Can someone correct this, or confirm that this would be
> the right contents?
>
> Thanks,
> Bryan Sutula
>
> -----------------------------------------------
>
> --- SF/openhpi/openhpid/openhpid.sh.in 2007-04-09 11:11:58.000000000
> -0600
> +++ local/openhpi/openhpid/openhpid.sh.in 2008-02-04 10:13:54.000000000
> -0700
> @@ -1,5 +1,15 @@
> #! /bin/bash
> #
> +### BEGIN INIT INFO
> +# Provides: openhpid
> +# Required-Start: $network $named $remote_fs $syslog
> +# Required-Stop: $network $named $remote_fs $syslog
> +# Default-Start: 2 3 4 5
> +# Default-Stop: 0 1 6
> +# Short-Description: Start OpenHPI daemon at boot time
> +# Description: Enable OpenHPI service which is provided by
> openhpid.
> +### END INIT INFO
> +#
> # openhpid.sh Start/Stop the openhpi daemon.
> #
> # description: openhpid is standard UNIX program which uses the OpenHPI
> \
>
>
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Openhpi-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openhpi-devel
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel