NeoRouter
http://www.neorouter.com/forum/

nrservice.sh script missing LSB tags and overrides
http://www.neorouter.com/forum/viewtopic.php?f=6&t=5069
Page 1 of 1

Author:  geofurtado [ Sun May 27, 2012 2:15 pm ]
Post subject:  nrservice.sh script missing LSB tags and overrides

Using Debian 6 Squeeze received following warning on installation of unrelated packages:

insserv: warning: script 'nrservice.sh' missing LSB tags and overrides

This is probably the same in any of the Debian/Ubuntu related OS's.

Fix:

Create a file called nrservice.sh in /etc/insserv/overrides with the following contents:

### BEGIN INIT INFO
# Provides: nrservice.sh
# Required-Start: $remote_fs $syslog nrservice
# Required-Stop: $remote_fs $syslog nrservice
# Default-Start: 2 3 5
# Default-Stop: 2 3 5
# Short-Description: Start daemon when neorouter service starts
# Description: Enable service provided by daemon.
### END INIT INFO

After saving the file run:

chmod +x /etc/insserv/overrides/nrservice.sh

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/