diff options
Diffstat (limited to 'runlevels')
-rw-r--r-- | runlevels/Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/runlevels/Makefile b/runlevels/Makefile new file mode 100644 index 00000000..0cc60ed3 --- /dev/null +++ b/runlevels/Makefile @@ -0,0 +1,12 @@ +BOOT = bootmisc checkroot checkfs clock hostname localmount rmnologin urandom +DEFAULT = local netmount + +install: + install -d -m 0755 $(DESTDIR)/etc/runlevels/boot || exit $$? ; \ + for x in $(BOOT) ; do ln -snf ../../init.d/"$$x" $(DESTDIR)/etc/runlevels/boot/"$$x" || exit $$? ; done ; \ + install -d -m 0755 $(DESTDIR)/etc/runlevels/default || exit $$? ; \ + for x in $(DEFAULT) ; do ln -snf ../../init.d/"$$x" $(DESTDIR)/etc/runlevels/default/"$$x" || exit $$? ; done ; \ + +.PHONY: all clean + +# vim: set ts=4 : |