diff --git a/plugins/rsyncd/install.sh b/plugins/rsyncd/install.sh index 4fe7f2f8e..d339a5866 100755 --- a/plugins/rsyncd/install.sh +++ b/plugins/rsyncd/install.sh @@ -16,6 +16,10 @@ bash ${rootPath}/scripts/getos.sh OSNAME=`cat ${rootPath}/data/osname.pl` +if [ -f ${rootPath}/bin/activate ];then + source ${rootPath}/bin/activate +fi + if id www &> /dev/null ;then echo "www uid is `id -u www`" echo "www shell is `grep "^www:" /etc/passwd |cut -d':' -f7 `"