diff --git a/aria2/install.sh b/aria2/install.sh index bcf29bc..faa14ba 100755 --- a/aria2/install.sh +++ b/aria2/install.sh @@ -32,7 +32,7 @@ if [ -d /koolshare/www ];then fi chmod 755 /koolshare/aria2/* -chmod 755 /koolshare/init.d/* +chmod 755 /koolshare/init.d/S91aria2.sh chmod 755 /koolshare/scripts/aria2* chmod 755 /koolshare/perp/aria2/* diff --git a/aria2/uninstall.sh b/aria2/uninstall.sh index 6f9635e..ea7aa86 100644 --- a/aria2/uninstall.sh +++ b/aria2/uninstall.sh @@ -1,8 +1,15 @@ -#!/bin/sh +#! /bin/sh sh /koolshare/aria2/aria2_run.sh stop + rm -rf /koolshare/aria2 -rm -rf /perp/aria2 -rm -rf /koolshare/scripts/aria2_config.sh -rm -rf /webs/Module_thunder.asp +rm -rf /koolshare/scripts/aria2* +rm -rf /koolshare/webs/Module_aria2.asp +rm -rf /koolshare/www +rm -rf /koolshare/pere/aria2 +rm -rf /koolshare/uninstall_aria2.sh +for r in `dbus list aria2|cut -d"=" -f 1` +do + dbus remove $r +done \ No newline at end of file