mirror of https://github.com/OpenRC/openrc.git
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 \
|
||||
for x in tty1 tty2 tty3 tty4 tty5 tty6; do \
|
||||
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 $$?; \
|
||||
done; \
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue