[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Two line init.d scripts? Sure, that will work!



Petter Reinholdtsen wrote:
>   #!/lib/init/init-d-script
>   ### BEGIN INIT INFO
>   # Provides:          daemon
>   # Required-Start:    $remote_fs $syslog
>   # Required-Stop:     $remote_fs $syslog
>   # Default-Start:     2 3 4 5
>   # Default-Stop:      0 1 6
>   # Short-Description: nice daemon
>   # Description:       Provide service to others
>   ### END INIT INFO
>   DAEMON=/usr/sbin/daemond

> As for the line counting in the subject, I decided to ignore commented
> lines.  Including those, we end up on 11 lines. :)

If there was ever any doubt that LSB's abuse of comments in init script
headers was a bad idea (of the sort committees commonly develop),
I think you've conclusively proven it here.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: