Why is /sbin/initscript.sample not /etc/initscript.sample ?
initscript.sample is provided by the sysvinti package.
The script's comment suggests that it should be placed in /etc/ : Code:
# <snip>. By default this script is installed Code:
cp initscript.sample $PKG/sbin/initscript.sample Why? What's the rationale? I seldom (read 'never') saw /etc and /sbin being on different partitions. |
Slackware's init is a BSD-style init, meaning that it is a series of scripts.
The SysVinit package provides compatibility with SysV. I suspect that the modifications to the SysVinit package have been made so that SysVinit can provide that compatibility without intruding. |
I know. I'm playing with the Slackware's sysv emulation at the moment, because I had some trouble making VMware run.
For me it doesn't make much sense to ship a script prototype in /sbin/. Probably either ship it in the default location, or just throw it away completely, as with other unused parts of the sysv. |
init does look for it under /etc/
Code:
$ strings /sbin/init | grep initscript Maybe just putting it in /usr/doc/sysvinit* (it is a sample after all) and leaving those who want to install it to do so manually is the right approach. |
Quote:
|
All times are GMT -5. The time now is 10:13 PM. |