diff --git a/src/rc.d/jp-hb-devices-addon b/src/rc.d/jp-hb-devices-addon index ae34d8ea..a0a25817 100755 --- a/src/rc.d/jp-hb-devices-addon +++ b/src/rc.d/jp-hb-devices-addon @@ -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-* @@ -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