blob: be8664e52e29c8600526d1538d5e59fdb5e1658a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
! fix bug
* LSB compliance
+ LSB niceness
review init.d script dependencies
local_fs -
time ? network?
syslog ? (local_fs? or network) and time
network - syslog
remote_fs - network
portmap - network
named - network and syslog
* add database editing command to rc
* do something with info->shouldstart's in rc
+ rc foo start - start dependencies of foo first
+ rc foo stop - stop things dependent on foo first
+ dependencies should be per runlevel as well.
I don't think LSB explicitly requires this, but it makes sense.
OTOH, there is much that could go wrong with a dependency script,
so how paranoid do we want to be?
#ifdef CONFIG_FEATURE_RUNLEVEL_PARANOID
! double check status functions
! pidofproc needs to check the name of the proc as well as the pid in /proc/$pid
remove start_daemon's reliance on start-stop-daemon
! remove need for sleep(1) in start_daemon
finish boot_time
write a proper network & friends
add fsck support to local_fs and linuxrc
local_fs should only umount things it mounted
! try to detect ext3 before mount whinges
! redirect console to some other VT
+ write init_d_from_script
+ rewrite skeleton to use initd_from_script
! fix forking, daemon begat's daemon, and daemonic hell breaks loose.
My doit() is probably to blame.
#ifdef CONFIG_FEATURE_CLEAN_UP
replace some doit's with C code
force enable of remaining doit's
hit it with the ugly_stick
|