optimize loops for installing gettys
This commit is contained in:
parent
5c5129b534
commit
c7000aeaab
@ -93,8 +93,6 @@ install:
|
|||||||
if test "${MKSYSVINIT}" = yes && test "${OS}" = Linux; then \
|
if test "${MKSYSVINIT}" = yes && test "${OS}" = Linux; then \
|
||||||
for x in tty1 tty2 tty3 tty4 tty5 tty6; do \
|
for x in tty1 tty2 tty3 tty4 tty5 tty6; do \
|
||||||
ln -snf ${INITDIR}/agetty ${DESTDIR}/${INITDIR}/"agetty.$$x" || exit $$?; \
|
ln -snf ${INITDIR}/agetty ${DESTDIR}/${INITDIR}/"agetty.$$x" || exit $$?; \
|
||||||
done; \
|
|
||||||
for x in tty1 tty2 tty3 tty4 tty5 tty6; do \
|
|
||||||
ln -snf ${INITDIR}/agetty.$$x ${DEFAULTDIR}/"agetty.$$x" || exit $$?; \
|
ln -snf ${INITDIR}/agetty.$$x ${DEFAULTDIR}/"agetty.$$x" || exit $$?; \
|
||||||
done; \
|
done; \
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user