diff options
Diffstat (limited to 'lib/installrm.c')
-rw-r--r-- | lib/installrm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/installrm.c b/lib/installrm.c index d0549b3..abea9ac 100644 --- a/lib/installrm.c +++ b/lib/installrm.c @@ -104,7 +104,7 @@ static void install_level_links(const initd_list_t *ilp, if (sk == SK_START) { for (ip = ilp->first; ip; ip = ip->next) { /* skip script if not active in this level */ - if (!initd_is_active(ip, rc, sk)) + if (!initd_is_active(ip, rc, KEY_ASTART)) continue; remove_existing_link(ip, dir, sk); @@ -112,7 +112,7 @@ static void install_level_links(const initd_list_t *ilp, } else { for (ip = ilp->last; ip; ip = ip->prev) { /* skip script if not active in this level */ - if (!initd_is_active(ip, rc, sk)) + if (!initd_is_active(ip, rc, KEY_ASTOP)) continue; remove_existing_link(ip, dir, sk); |