where $modulename is the name of module
Log in SSH and type
Run this command to see a list with modules name
See the module name you want to remove and replace in the following command.
By this command, $modulename string is assigned to the module name to be replaced
Run this command to be sure the $modulename string is assigne correctly, to avoid deleting the wrong files
If the $modulename is assigned correctly, run the following commands and don't change anything on them to avoid deleting the wrong files
after that your module is uninstall and is not any more on the Webui list, better is to reboot NAS to be sure to clean process list
Log in SSH and type
Run this command to see a list with modules name
Code:
ls -h /raid/data/module
See the module name you want to remove and replace in the following command.
By this command, $modulename string is assigned to the module name to be replaced
Code:
modulename=replace_this_with_module_name_to_remove
Run this command to be sure the $modulename string is assigne correctly, to avoid deleting the wrong files
Code:
echo $modulename
If the $modulename is assigned correctly, run the following commands and don't change anything on them to avoid deleting the wrong files
Code:
/raid/data/module/cfg/module.rc/$modulename.rc stop
rm -rf "/raid/data/module/cfg/module.rc/$modulename.rc"
rm -rf "/raid/data/module/$modulename"
rm -f "/img/htdocs/module/$modulename"
/opt/bin/sqlite /raid/data/module/cfg/module.db "delete from module where name = '$modulename'"
/opt/bin/sqlite /raid/data/module/cfg/module.db "delete from mod where module = '$modulename'"
after that your module is uninstall and is not any more on the Webui list, better is to reboot NAS to be sure to clean process list