aboutsummaryrefslogtreecommitdiff
path: root/runlevels.Linux/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'runlevels.Linux/Makefile')
-rw-r--r--runlevels.Linux/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/runlevels.Linux/Makefile b/runlevels.Linux/Makefile
new file mode 100644
index 00000000..aa84c1c0
--- /dev/null
+++ b/runlevels.Linux/Makefile
@@ -0,0 +1,12 @@
+BOOT = consolefont keymaps modules net.lo volumes
+DEFAULT = hdparm
+
+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 :