- Pluings should need to install after facotry reset.
But required file(plugin-installation-required) wasn't backuped.
So widget installtion failed.
ln -sf /usr/bin/wrt-installer /usr/etc/package-manager/backend/wgt
#for recovery
-mkdir -p /opt/apps/widget/temp_info
+mkdir -p /opt/share/widget/temp_info
ln -s /etc/rc.d/init.d/wrt_preinstall_widgets.sh /etc/rc.d/rc3.d/S46lwrt_preinstall_widgets.sh
ln -s /etc/rc.d/init.d/wrt_preinstall_widgets.sh /etc/rc.d/rc5.d/S46lwrt_preinstall_widgets.sh
#
_working_dir="/opt/media/Downloads/.preinstallWidgets"
-_widget_temp="/opt/apps/widget/*";
+_widget_temp="/opt/share/widget/*";
install_widgets() {
_wgt_list=`find $_working_dir -name '*.wgt'`
#Reinstall widget during booting
-_temp_widget_path=/opt/apps/widget/temp_info
+_temp_widget_path=/opt/share/widget/temp_info
FILE_LIST=`ls $_temp_widget_path`
ln -sf /usr/bin/wrt-installer /usr/etc/package-manager/backend/wgt
#for booting recovery
-mkdir -p /opt/apps/widget/temp_info
+mkdir -p /opt/share/widget/temp_info
[ -h /etc/rc.d/rc3.d/S46lwrt_preinstall_widgets.sh ] && rm /etc/rc.d/rc3.d/S46lwrt_preinstall_widgets.sh
[ -h /etc/rc.d/rc5.d/S46lwrt_preinstall_widgets.sh ] && rm /etc/rc.d/rc5.d/S46lwrt_preinstall_widgets.sh
ln -s /etc/rc.d/init.d/wrt_preinstall_widgets.sh /etc/rc.d/rc3.d/S46lwrt_preinstall_widgets.sh
tempPathBuilder << WrtDB::GlobalConfig::GetUserInstalledWidgetPath();
tempPathBuilder << "/";
- tempPathBuilder << "widget";
- tempPathBuilder << "/";
tempPathBuilder << TEMPORARY_PATH_POSTFIX;
tempPathBuilder << "_";