diff --git a/NeoBoot/files/userscript.sh b/NeoBoot/files/userscript.sh index 3322adc..51914b8 100644 --- a/NeoBoot/files/userscript.sh +++ b/NeoBoot/files/userscript.sh @@ -41,9 +41,6 @@ if [ $? -gt 0 ]; then fi fi - if [ -e /%1 ] ; then - rm -f /%1 - fi # echo " dns-nameservers 1.1.1.1 " >> /etc/network/interfaces else @@ -53,9 +50,12 @@ fi if [ -e /%1 ] ; then rm -f /%1 fi +if [ -e /home/root/%1 ] ; then + rm -f /home/root/%1 +fi echo "!!!_____([NEOBOOT] used userscript)_____!!! " echo ok exit 0 - \ No newline at end of file +