hello sir
what is rtorrent module as modulename?
Thank you
and.... all my modules is gone...
what is rtorrent module as modulename?
Thank you
Code:
$modulname=rTorrent
/raid/data/module/cfg/module.rc/$rTorrent.rc stop
rm -rf "/raid/data/module/cfg/module.rc/$rTorrent.rc"
rm -rf "/raid/data/module/$rTorrent"
rm -f "/img/htdocs/module/$rTorrent"
/opt/bin/sqlite /raid/data/module/cfg/module.db "delete from module where name = '$rTorrent'"
/opt/bin/sqlite /raid/data/module/cfg/module.db "delete from mod where module = '$rTorrent'"
rm: can't remove '/raid/data/module/Plex/sys': Directory not empty
rm: can't remove '/raid/data/module/Plex': Directory not empty
rm: can't remove '/raid/data/module': Directory not empty
N4800Eco:~# rm -f "/img/htdocs/module/$modulename"
N4800Eco:~# /opt/bin/sqlite /raid/data/module/cfg/module.db "delete from module where name = '$modulename'"
Error: unable to open database "/raid/data/module/cfg/module.db": unable to open database file
N4800Eco:~# /opt/bin/sqlite /raid/data/module/cfg/module.db "delete from mod where module = '$modulename'"
Error: unable to open database "/raid/data/module/cfg/module.db": unable to open database file
N4800Eco:~# $modulname=rTorrent
-sh: =rTorrent: command not found
N4800Eco:~# /raid/data/module/cfg/module.rc/$rTorrent.rc stop
-sh: /raid/data/module/cfg/module.rc/.rc: No such file or directory
N4800Eco:~# rm -rf "/raid/data/module/cfg/module.rc/$rTorrent.rc"
N4800Eco:~# rm -rf "/raid/data/module/$rTorrent"
N4800Eco:~# rm -f "/img/htdocs/module/$rTorrent"
N4800Eco:~# /opt/bin/sqlite /raid/data/module/cfg/module.db "delete from module where name = '$rTorrent'"
Error: unable to open database "/raid/data/module/cfg/module.db": unable to open database file
N4800Eco:~# /opt/bin/sqlite /raid/data/module/cfg/module.db "delete from mod where module = '$rTorrent'"
Error: unable to open database "/raid/data/module/cfg/module.db": unable to open database file
N4800Eco:~#
N4800Eco:~#