aboutsummaryrefslogtreecommitdiffstats
path: root/lsb-bootscripts/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lsb-bootscripts/Makefile')
-rw-r--r--lsb-bootscripts/Makefile101
1 files changed, 0 insertions, 101 deletions
diff --git a/lsb-bootscripts/Makefile b/lsb-bootscripts/Makefile
deleted file mode 100644
index d216c86d6..000000000
--- a/lsb-bootscripts/Makefile
+++ /dev/null
@@ -1,101 +0,0 @@
-ETCDIR=/etc/rc.d
-EXTDIR=${DESTDIR}${ETCDIR}
-MODE=754
-DIRMODE=755
-CONFMODE=644
-
-all: install
-
-create-dirs:
- if test ! -d /${DESTDIR}; then install -d -m ${DIRMODE} ${EXTDIR}; fi
- install -d -m ${DIRMODE} ${EXTDIR}/rc0.d
- install -d -m ${DIRMODE} ${EXTDIR}/rc1.d
- install -d -m ${DIRMODE} ${EXTDIR}/rc2.d
- install -d -m ${DIRMODE} ${EXTDIR}/rc3.d
- install -d -m ${DIRMODE} ${EXTDIR}/rc4.d
- install -d -m ${DIRMODE} ${EXTDIR}/rc5.d
- install -d -m ${DIRMODE} ${EXTDIR}/rc6.d
- install -d -m ${DIRMODE} ${EXTDIR}/rcS.d
- install -d -m ${DIRMODE} ${EXTDIR}/init.d
- install -d -m ${DIRMODE} ${DESTDIR}/etc/default
- install -d -m ${DIRMODE} ${DESTDIR}/etc/network
- install -d -m ${DIRMODE} ${DESTDIR}/sbin
- install -d -m ${DIRMODE} ${DESTDIR}/lib/lsb
- install -d -m ${DIRMODE} ${DESTDIR}/lib/network-services
- if [ ${ETCDIR} != /etc ]; then ln -s ${ETCDIR}/init.d ${DESTDIR}/etc/init.d; fi
-
-install: create-dirs
- install -m ${MODE} etc/init.d/checkfs ${EXTDIR}/init.d/
- install -m ${MODE} etc/init.d/cleanfs ${EXTDIR}/init.d/
- install -m ${MODE} etc/init.d/halt ${EXTDIR}/init.d/
- install -m ${MODE} etc/init.d/console ${EXTDIR}/init.d/
- install -m ${MODE} etc/init.d/localnet ${EXTDIR}/init.d/
- install -m ${MODE} etc/init.d/modules ${EXTDIR}/init.d/
- install -m ${MODE} etc/init.d/mountfs ${EXTDIR}/init.d/
- install -m ${MODE} etc/init.d/mountvirtfs ${EXTDIR}/init.d/
- install -m ${MODE} etc/init.d/network ${EXTDIR}/init.d/
- install -m ${MODE} etc/init.d/rc ${EXTDIR}/init.d/
- install -m ${MODE} etc/init.d/reboot ${EXTDIR}/init.d/
- install -m ${MODE} etc/init.d/sendsignals ${EXTDIR}/init.d/
- install -m ${MODE} etc/init.d/setclock ${EXTDIR}/init.d/
- install -m ${MODE} etc/init.d/sysklogd ${EXTDIR}/init.d/
- install -m ${MODE} etc/init.d/swap ${EXTDIR}/init.d/
- install -m ${MODE} etc/init.d/sysctl ${EXTDIR}/init.d/
- install -m ${MODE} etc/init.d/template ${EXTDIR}/init.d/
- install -m ${MODE} etc/init.d/udev ${EXTDIR}/init.d/
- install -m ${MODE} etc/init.d/udev_retry ${EXTDIR}/init.d/
- install -m ${CONFMODE} lib/lsb/init-functions ${DESTDIR}/lib/lsb/
- if [ ! -f ${DESTDIR}/etc/default/createfiles ]; then install -m ${CONFMODE} etc/default/createfiles ${DESTDIR}/etc/default/; fi
- if [ ! -f ${DESTDIR}/etc/default/modules ]; then install -m ${CONFMODE} etc/default/modules ${DESTDIR}/etc/default/; fi
- if [ ! -f ${DESTDIR}/etc/default/rc ]; then install -m ${CONFMODE} etc/default/rc ${DESTDIR}/etc/default/; fi
- if [ ! -f ${DESTDIR}/etc/default/rc.site ]; then install -m ${CONFMODE} etc/default/rc.site ${DESTDIR}/etc/default/; fi
- install -m ${MODE} sbin/ifup ${DESTDIR}/sbin/
- install -m ${MODE} sbin/ifdown ${DESTDIR}/sbin/
- install -m ${MODE} lib/network-services/ipv4-static ${DESTDIR}/lib/network-services/
- install -m ${MODE} lib/network-services/ipv4-static-route ${DESTDIR}/lib/network-services/
- /usr/lib/lsb/install_initd ${EXTDIR}/init.d/checkfs
- /usr/lib/lsb/install_initd ${EXTDIR}/init.d/cleanfs
- /usr/lib/lsb/install_initd ${EXTDIR}/init.d/halt
- /usr/lib/lsb/install_initd ${EXTDIR}/init.d/console
- /usr/lib/lsb/install_initd ${EXTDIR}/init.d/localnet
- /usr/lib/lsb/install_initd ${EXTDIR}/init.d/modules
- /usr/lib/lsb/install_initd ${EXTDIR}/init.d/mountfs
- /usr/lib/lsb/install_initd ${EXTDIR}/init.d/mountvirtfs
- /usr/lib/lsb/install_initd ${EXTDIR}/init.d/network
- /usr/lib/lsb/install_initd ${EXTDIR}/init.d/reboot
- /usr/lib/lsb/install_initd ${EXTDIR}/init.d/sendsignals
- /usr/lib/lsb/install_initd ${EXTDIR}/init.d/sysklogd
- /usr/lib/lsb/install_initd ${EXTDIR}/init.d/swap
- /usr/lib/lsb/install_initd ${EXTDIR}/init.d/sysctl
- /usr/lib/lsb/install_initd ${EXTDIR}/init.d/udev
- /usr/lib/lsb/install_initd ${EXTDIR}/init.d/udev_retry
- sed 's@ETCDIR@${ETCDIR}@' -i ${DESTDIR}/etc/default/rc
-
-minimal: create-dirs
- install -m ${MODE} etc/init.d/checkfs ${EXTDIR}/init.d/
- install -m ${MODE} etc/init.d/cleanfs ${EXTDIR}/init.d/
- install -m ${MODE} etc/init.d/halt ${EXTDIR}/init.d/
- install -m ${MODE} etc/init.d/localnet ${EXTDIR}/init.d/
- install -m ${MODE} etc/init.d/mountfs ${EXTDIR}/init.d/
- install -m ${MODE} etc/init.d/mountvirtfs ${EXTDIR}/init.d/
- install -m ${MODE} etc/init.d/rc ${EXTDIR}/init.d/
- install -m ${MODE} etc/init.d/reboot ${EXTDIR}/init.d/
- install -m ${MODE} etc/init.d/sendsignals ${EXTDIR}/init.d/
- install -m ${MODE} etc/init.d/detclock ${EXTDIR}/init.d/
- install -m ${MODE} etc/init.d/swap ${EXTDIR}/init.d/
- install -m ${MODE} etc/init.d/udev ${EXTDIR}/init.d/
- install -m ${CONFMODE} lib/lsb/init-functions ${DESTDIR}/lib/lsb/
- if [ ! -f ${DESTDIR}/etc/default/rc ]; then install -m ${CONFMODE} default/rc ${DESTDIR}/etc/default/; fi
- /usr/lib/lsb/install_initd ${EXTDIR}/init.d/checkfs
- /usr/lib/lsb/install_initd ${EXTDIR}/init.d/cleanfs
- /usr/lib/lsb/install_initd ${EXTDIR}/init.d/halt
- /usr/lib/lsb/install_initd ${EXTDIR}/init.d/localnet
- /usr/lib/lsb/install_initd ${EXTDIR}/init.d/mountfs
- /usr/lib/lsb/install_initd ${EXTDIR}/init.d/mountvirtfs
- /usr/lib/lsb/install_initd ${EXTDIR}/init.d/reboot
- /usr/lib/lsb/install_initd ${EXTDIR}/init.d/sendsignals
- /usr/lib/lsb/install_initd ${EXTDIR}/init.d/swap
- /usr/lib/lsb/install_initd ${EXTDIR}/init.d/udev
-
-.PHONY: all create-dirs install minimal
-