aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-04-11 10:40:53 +0000
committerRoy Marples <roy@marples.name>2007-04-11 10:40:53 +0000
commit64c4d3875d610191658fb05d9317086fdb72257c (patch)
tree772139d4ce58ff6aef49e0abeaaeea56eeddfed6 /src
parentf754c661f57225b92ab72ce8867607341efa0c53 (diff)
Move carrier detection back into net.sh. Reserve a new hook numbers
Diffstat (limited to 'src')
-rw-r--r--src/rc.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/rc.h b/src/rc.h
index e86531c9..b6c8cdb1 100644
--- a/src/rc.h
+++ b/src/rc.h
@@ -135,10 +135,11 @@ void rc_free_deptree (rc_depinfo_t *deptree);
typedef enum
{
rc_hook_runlevel_stop_in = 1,
- rc_hook_runlevel_stop_out,
- rc_hook_runlevel_start_in,
- rc_hook_runlevel_start_out,
- rc_hook_service_stop_in,
+ rc_hook_runlevel_stop_out = 4,
+ rc_hook_runlevel_start_in = 5,
+ rc_hook_runlevel_start_out = 8,
+ /* We reserved a few numbers if we need rc_runlevel_stop_now and done */
+ rc_hook_service_stop_in = 101,
rc_hook_service_stop_now,
rc_hook_service_stop_done,
rc_hook_service_stop_out,