missing LSB tags and overrides

Kernels & Hardware, configuring network, installing services

missing LSB tags and overrides

Postby samghami » 2012-04-04 18:46

when I run "apt-get upgrade" I have an error:
insserv: warning: script 'K01netconf.sh' missing LSB tags and overrides
insserv: warning: script 'netconf.sh' missing LSB tags and overrides

Would you have a solution ?


Ps: I'm running Debian 6

I'm a french user...I try to speak English as much as possible
samghami
 
Posts: 2
Joined: 2012-04-04 18:39

Re: missing LSB tags and overrides

Postby kevmitch » 2012-04-04 20:38

This is referring to th init script /etc/init.d/netconf.sh, which doesn't appear to be part of debian. As a result, it's not surprising that it is not up to spec. It doesn't have headers indicating what order it needs to be started at boot. To avoid seeing this message, you could add a boilerplate header like the one in /etc/init.d/skeleton:
Code: Select all
### BEGIN INIT INFO
# Provides:          skeleton
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Example initscript
# Description:       This file should be used to construct scripts to be
#                    placed in /etc/init.d.
### END INIT INFO
kevmitch
 
Posts: 498
Joined: 2008-01-29 20:43

Re: missing LSB tags and overrides

Postby samghami » 2012-04-05 04:24

inside of my file looks like this: nano /etc/init.d/netconf.sh


script de configuration réseau

ip route add 46.105.107.254 dev eth0
ip route add default via 46.105.107.254 dev eth0
samghami
 
Posts: 2
Joined: 2012-04-04 18:39


Return to System configuration

Who is online

Users browsing this forum: No registered users and 14 guests

fashionable