simplify creating the tmp file

pull/550/head
peepsnet 2016-12-18 11:12:19 -05:00 zatwierdzone przez GitHub
rodzic eec6e2c7db
commit 806473455a
1 zmienionych plików z 1 dodań i 4 usunięć

Wyświetl plik

@ -27,10 +27,7 @@ if [ "$RPI_REV" = "a01041" ] || [ "$RPI_REV" = "a21041" ] || [ "$RPI_REV" = "900
fi
#Make a new hostapd or hostapd-edimax conf file based on logic above
cp -f ${DAEMON_CONF} ${DAEMON_TMP}
#inject user settings from file to tmp conf
cat ${DAEMON_USER_PREF} >> ${DAEMON_TMP}
cat ${DAEMON_USER_PREF} ${DAEMON_CONF} > ${DAEMON_TMP}
${DAEMON_SBIN} -B ${DAEMON_TMP}