55 lines
1.5 KiB
Makefile
55 lines
1.5 KiB
Makefile
# GNU Makefile listing dependencies between services when services are
|
|
# stopped
|
|
#
|
|
# rc[1-5].d dependencies
|
|
acpid : sendsignals
|
|
alsa : splash
|
|
consolekit : splash
|
|
cpufreqd : sendsignals
|
|
crond : splash
|
|
cups : splash
|
|
drbd : splash heartbeat
|
|
gpm : splash
|
|
haldaemon : splash wicd
|
|
heartbeat : splash
|
|
httpd : splash
|
|
iptables : sendsignals
|
|
lisa : splash
|
|
lisa4 : splash
|
|
localnet : splash network
|
|
logrotate : splash
|
|
mountfs : splash sendsignals swap create_final_log
|
|
mrtg : splash
|
|
mysql : splash
|
|
named : splash
|
|
nessusd : splash
|
|
network : splash mountfs vmware heartbeat drbd
|
|
nscd : splash
|
|
ntpd : splash
|
|
openldap : splash
|
|
postgresql : splash
|
|
random : splash
|
|
samba : splash
|
|
snort : splash
|
|
splash :
|
|
sshd : splash
|
|
swap : sendsignals
|
|
udev : splash mountfs
|
|
virtualbox : splash
|
|
vmware : splash
|
|
wine : splash
|
|
xinetd : splash
|
|
wicd : splash
|
|
# services to be started last
|
|
sysklogd : $(filter-out sysklogd udev mountfs sendsignals create_final_log swap reboot halt,$(ALL_RUNLEVEL))
|
|
sendsignals : $(filter-out sendsignals acpid iptables localnet network udev mountfs network cpufreqd reboot halt,$(ALL_RUNLEVEL))
|
|
reboot : $(filter-out reboot,$(ALL_RUNLEVEL))
|
|
halt : $(filter-out halt,$(ALL_RUNLEVEL))
|
|
local :
|
|
|
|
|
|
create_final_log : sendsignals swap
|
|
@$(LS) -Srt $(TMP_DIR)/$(TMPFILE_PREFIX).$(JOB).* | $(XARGS) $(CAT) > $(FINAL_OUTPUT_FILE) 2>/dev/null
|
|
@$(RM) -f $(TMP_DIR)/$(TMPFILE_PREFIX).$(JOB).* 2>/dev/null
|
|
# EOF
|