diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2006-03-01 11:43:56 +0000 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2006-03-01 11:43:56 +0000 |
commit | a9722eecd91e822b5f9391cd945f9911dff79afe (patch) | |
tree | 55127d4929b5cfceda9b171ec4b26e1c67ba8fcb /rules/rootfs.make | |
parent | bda70870d8cf3d77469b2a7b1c30310e5a1e8cbc (diff) | |
download | ptxdist-a9722eecd91e822b5f9391cd945f9911dff79afe.tar.gz ptxdist-a9722eecd91e822b5f9391cd945f9911dff79afe.tar.xz |
add /etc/init.d/modules
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-0.10-trunk@4905 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/rootfs.make')
-rw-r--r-- | rules/rootfs.make | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/rules/rootfs.make b/rules/rootfs.make index e9a4dc83f..5732b783c 100644 --- a/rules/rootfs.make +++ b/rules/rootfs.make @@ -280,13 +280,6 @@ endif # # Startup scripts in /etc/init.d # -ifdef PTXCONF_ROOTFS_ETC_INITD_INETD - @$(call install_copy, rootfs, 0, 0, 0755, $(PTXDIST_TOPDIR)/projects/generic/etc/init.d/inetd, /etc/init.d/inetd, n) -ifneq ($(PTXCONF_ROOTFS_ETC_INITD_INETD_LINK),"") - @$(call install_link, rootfs, /etc/init.d/inetd, /etc/rc.d/$(PTXCONF_ROOTFS_ETC_INITD_INETD_LINK)) -endif -endif - ifdef PTXCONF_ROOTFS_ETC_INITD # Copy generic etc/init.d @@ -297,6 +290,20 @@ ifdef ROOTFS_ETC_INITD_LOGROTATE @$(call install_copy, rootfs, 0, 0, 0755, $(PTXDIST_TOPDIR)/projects/generic/etc/init.d/logrotate, /etc/init.d/logrotate, n) endif +ifdef PTXCONF_ROOTFS_ETC_INITD_INETD + @$(call install_copy, rootfs, 0, 0, 0755, $(PTXDIST_TOPDIR)/projects/generic/etc/init.d/inetd, /etc/init.d/inetd, n) +ifneq ($(PTXCONF_ROOTFS_ETC_INITD_INETD_LINK),"") + @$(call install_link, rootfs, /etc/init.d/inetd, /etc/rc.d/$(PTXCONF_ROOTFS_ETC_INITD_INETD_LINK)) +endif +endif + +ifdef PTXCONF_ROOTFS_ETC_INITD_MODULES + @$(call install_copy, rootfs, 0, 0, 0755, $(PTXDIST_TOPDIR)/projects/generic/etc/init.d/modules, /etc/init.d/modules, n) +ifneq ($(PTXCONF_ROOTFS_ETC_INITD_MODULES_LINK),"") + @$(call install_link, rootfs, /etc/init.d/modules, /etc/rc.d/$(PTXCONF_ROOTFS_ETC_INITD_MODULES_LINK)) +endif +endif + ifdef PTXCONF_ROOTFS_ETC_INITD_NETWORKING @$(call install_copy, rootfs, 0, 0, 0755, $(PTXDIST_TOPDIR)/projects/generic/etc/init.d/networking, /etc/init.d/networking, n) @$(call install_copy, rootfs, 0, 0, 0755, /etc/network/if-down.d) |