diff options
author | Roy Marples <roy@marples.name> | 2007-12-28 11:59:42 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-12-28 11:59:42 +0000 |
commit | d5684c26f9f51f2db3f5d586989cfb40f0b0318b (patch) | |
tree | 41783b0d72507384a16524ee3151de3f472bb4f6 | |
parent | 69fe6844ebeb2f16657af34dd4547c60b5e48329 (diff) |
runlevel links are not relavtive, so don't install defaults as such.
-rw-r--r-- | runlevels.mk | 4 |
1 files 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: |