runlevel links are not relavtive, so don't install defaults as such.
This commit is contained in:
parent
69fe6844eb
commit
d5684c26f9
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user