Skip to content

Commit

Permalink
copy firmware files after running all installation scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
jp112sdl committed Jul 27, 2018
1 parent e04b6d3 commit f716c1d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/rc.d/jp-hb-devices-addon
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ case "$1" in
if [ ! -f ${ADDON_DIR}/installed ] || [ ! -f ${CK_FIRMWARE_FILE} ]; then
mount -o remount,rw /
cd ${ADDON_DIR}
cp -a firmware/rftypes/* /firmware/rftypes/
cp -ar www/* /www/
chown root:root /www/config/img/devices/250/hb-*
chmod 755 /www/config/img/devices/250/hb-*
Expand Down Expand Up @@ -51,6 +50,9 @@ case "$1" in
DEVICE=hb-uni-sen-wea
echo "Installing ${DEVICE}"
echo $!> $PIDFILE & ./install_${DEVICE} > $LOGFILE 2>$ERRFILE

cp -a firmware/rftypes/* /firmware/rftypes/

sync
mount -o remount,ro /
touch ${ADDON_DIR}/installed
Expand Down

0 comments on commit f716c1d

Please sign in to comment.