init script is missing LSB information
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tpb (Ubuntu) |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: tpb
After installing tpb, update-rc.d notices that /etc/init.d/tpb is missing LSB information.
# apt-get install tpb
...
Richte tpb ein (0.6.4-2.3ubuntu1) ...
update-rc.d: warning: /etc/init.d/tpb missing LSB information
update-rc.d: see <http://
Log ended: 2009-10-08 22:57:00
I think /etc/init.d/tpb should begin with:
#!/bin/sh
### BEGIN INIT INFO
# Provides: tpb
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description:
# Description:
### END INIT INFO
I don't know if the Default-Start and -Stop runlevels are correct.
Short-Description and Description have to be added, I have no good idea for it, sorry.
The attached patch adds LSB information, information about the author and website and makes some minor changes (I compared the script with /etc/init.
Changed in tpb (Ubuntu): | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
Sorry, here's a corrected diff.