|
|

楼主 |
发表于 2005-12-1 17:26:48
|
显示全部楼层
我看了insserv 的man 但是解释的不是很清楚!
### BEGIN INIT INFO
# Provides: boot_facility_1 [ boot_facility_2 ...]
# Required-Start: boot_facility_1 [ boot_facility_2 ...]
# Required-Stop: boot_facility_1 [ boot_facility_2 ...]
# X-UnitedLinux-Should-Start: boot_facility_1 [ boot_facility_2 ...]
# X-UnitedLinux-Should-Stop: boot_facility_1 [ boot_facility_2 ...]
# Default-Start: run_level_1 [ run_level_2 ...]
# Default-Stop: run_level_1 [ run_level_2 ...]
# Description: multiline_description
### END INIT INFO
and calculating the dependencies between all scripts. Please note, that the Required-Stop, X-UnitedLinux-Should-Stop, and
Default-Stop are ignored in SuSE Linux, because the SuSE boot script concept uses a differential link scheme (see init.d(7)).
With known dependencies and runlevel(s) insserv sets and reorders the corresponding symbolic links of the concerned runlevels
directories (see init.d(7)). |
|