summaryrefslogtreecommitdiff
path: root/src/rc/runscript.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-02-03 23:27:16 +0000
committerRoy Marples <roy@marples.name>2008-02-03 23:27:16 +0000
commit08a5bdbcb3462ea6ba5d97e86ce44d1d26b627e0 (patch)
tree9113a90caf798d85f231d83722c7e14697526e9b /src/rc/runscript.c
parent93e310172575b0fe061d4ea4da912019c00bab6c (diff)
downloadopenrc-08a5bdbcb3462ea6ba5d97e86ce44d1d26b627e0.tar.gz
openrc-08a5bdbcb3462ea6ba5d97e86ce44d1d26b627e0.tar.bz2
openrc-08a5bdbcb3462ea6ba5d97e86ce44d1d26b627e0.tar.xz
RC_DEP_START/STOP should only be used for ordering services, and not the actual dependencies ofthe services themselves. This allows coldplugged services to satisfy the net dependency for rc ordering them correctly but not for services that require net and strict is on.
Diffstat (limited to 'src/rc/runscript.c')
-rw-r--r--src/rc/runscript.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/rc/runscript.c b/src/rc/runscript.c
index 83f2086..a50edf2 100644
--- a/src/rc/runscript.c
+++ b/src/rc/runscript.c
@@ -674,9 +674,6 @@ static void svc_start (bool deps)
if (rc_conf_yesno ("rc_depend_strict"))
depoptions |= RC_DEP_STRICT;
- if (rc_runlevel_starting ())
- depoptions |= RC_DEP_START;
-
if (deps) {
if (! deptree && ((deptree = _rc_deptree_load (NULL)) == NULL))
eerrorx ("failed to load deptree");
@@ -892,9 +889,6 @@ static void svc_stop (bool deps)
if (rc_conf_yesno ("rc_depend_strict"))
depoptions |= RC_DEP_STRICT;
- if (rc_runlevel_stopping ())
- depoptions |= RC_DEP_STOP;
-
if (! deptree && ((deptree = _rc_deptree_load (NULL)) == NULL))
eerrorx ("failed to load deptree");