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:
|
install:
|
||||||
if ! test -d "$(BOOTDIR)"; then \
|
if ! test -d "$(BOOTDIR)"; then \
|
||||||
$(INSTALL) -d $(BOOTDIR) || exit $$?; \
|
$(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
|
fi
|
||||||
if ! test -d "$(DEFAULTDIR)"; then \
|
if ! test -d "$(DEFAULTDIR)"; then \
|
||||||
$(INSTALL) -d $(DEFAULTDIR) || exit $$?; \
|
$(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
|
fi
|
||||||
|
|
||||||
all:
|
all:
|
||||||
|
Loading…
Reference in New Issue
Block a user