]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Made some improvements in installation of the initscripts.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 5 Oct 2008 19:59:03 +0000 (19:59 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 5 Oct 2008 19:59:03 +0000 (19:59 +0000)
lfs/initscripts

index e16ed4c952daef88b4bb537528e632820b95e779..2afc7f318c4e66582702f093cd8b9147445a77a5 100644 (file)
@@ -32,6 +32,34 @@ DIR_APP    = $(DIR_SOURCE)/$(THISAPP)
 
 TARGET     = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
 
+SCRIPTS = \
+       checkfs \
+       cleanfs \
+       console \
+       dhcp \
+       fcron \
+       haldaemon \
+       halt \
+       localnet \
+       messagebus \
+       mISDN \
+       modules \
+       mountfs \
+       mountkernfs \
+       network \
+       ntpd \
+       openldap \
+       random \
+       reboot \
+       sendsignals \
+       setclock \
+       sshd \
+       swap \
+       sysctl \
+       sysklogd \
+       udev \
+       udev_retry
+
 ###############################################################################
 # Top-level Rules
 ###############################################################################
@@ -69,7 +97,9 @@ $(TARGET) :
        install -m 644 $(DIR_APP)/lsb/manage-functions /lib/lsb/
        install -m 644 $(DIR_APP)/etc/lsb-config /etc/lsb/
 
-       cd /etc/init.d && find . -type f -exec install_initd {} \;
+       cd /etc/init.d && for i in $(SCRIPTS); do \
+               sleep 1; install_initd $$i; \
+       done
 
        for i in $(DIR_SRC)/src/initscripts/sysconfig/*; do \
                install -v -m 644 $$i /etc/sysconfig/; \