From d5684c26f9f51f2db3f5d586989cfb40f0b0318b Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Fri, 28 Dec 2007 11:59:42 +0000 Subject: [PATCH] runlevel links are not relavtive, so don't install defaults as such. --- runlevels.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runlevels.mk b/runlevels.mk index 5e8a6ad2..f8fb7898 100644 --- a/runlevels.mk +++ b/runlevels.mk @@ -9,11 +9,11 @@ INSTALL ?= install install: if ! test -d "$(BOOTDIR)"; then \ $(INSTALL) -d $(BOOTDIR) || exit $$?; \ - for x in $(BOOT); do ln -snf ../../init.d/"$$x" $(BOOTDIR)/"$$x" || exit $$?; done \ + for x in $(BOOT); do ln -snf /etc/init.d/"$$x" $(BOOTDIR)/"$$x" || exit $$?; done \ fi if ! test -d "$(DEFAULTDIR)"; then \ $(INSTALL) -d $(DEFAULTDIR) || exit $$?; \ - for x in $(DEFAULT); do ln -snf ../../init.d/"$$x" $(DEFAULTDIR)/"$$x" || exit $$?; done \ + for x in $(DEFAULT); do ln -snf /etc/init.d/"$$x" $(DEFAULTDIR)/"$$x" || exit $$?; done \ fi all: