optimize loops for installing gettys
William Hubbs
4 years ago
92 | 92 | if test "${MKSYSVINIT}" = yes && test "${OS}" = Linux; then \ |
93 | 93 | for x in tty1 tty2 tty3 tty4 tty5 tty6; do \ |
94 | 94 | ln -snf ${INITDIR}/agetty ${DESTDIR}/${INITDIR}/"agetty.$$x" || exit $$?; \ |
95 | done; \ | |
96 | for x in tty1 tty2 tty3 tty4 tty5 tty6; do \ | |
97 | 95 | ln -snf ${INITDIR}/agetty.$$x ${DEFAULTDIR}/"agetty.$$x" || exit $$?; \ |
98 | 96 | done; \ |
99 | 97 | fi |