Revert "Fix for copying SYSCONFFILE. Gave a Permission denied on OpenWRT"

This reverts commit f0cb3f50e4.
This commit is contained in:
Tom Eastep 2017-11-14 10:48:56 -08:00
parent f411f7dd31
commit 89d6009200
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10

View File

@ -492,7 +492,7 @@ ln -sf shorewall ${DESTDIR}${SBINDIR}/${PRODUCT}
if [ -n "$SYSCONFFILE" -a -f "$SYSCONFFILE" -a ! -f ${DESTDIR}${SYSCONFDIR}/${PRODUCT} ]; then
[ ${DESTDIR} ] && make_parent_directory ${DESTDIR}${SYSCONFDIR} 0755
install_file ${SYSCONFFILE} ${DESTDIR}${SYSCONFDIR}/${PRODUCT}/${SYSCONFFILE} 0640
install_file ${SYSCONFFILE} ${DESTDIR}${SYSCONFDIR}/${PRODUCT} 0640
echo "$SYSCONFFILE file installed in ${DESTDIR}${SYSCONFDIR}/${PRODUCT}"
fi