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

/etc/init.d services start/stop question



Hi,
 
i just installed shorewall and it made 2 links in /etc/rc2.d
K99shorewall and S99shorewall. I can see why the S99
would have to be there. Is the reason of K99 to prevent
net access for instance when one goes "telinit S"?
 
What scripts are called first, K or S?
 
Also, the debian reference guide says that all the scripts
in /etc/init.d take start, stop, ... as parameters to start
stop, the services.
But how does the system specify these when i reads
for instance S99shorewall when booting the system?
Does it add a "start" parameter to the script when it
resolves the link to start the script?
 
Thanks

Reply to: