Update userscript.sh

This commit is contained in:
gutosie
2024-01-12 12:49:23 +02:00
committed by GitHub
parent 5f4e4d9c18
commit 361af7b9f6

View File

@@ -7,8 +7,8 @@ if [ ! -f /etc/rc.local ] || [ ! -f /etc/init.d/rc.local ] || [ ! -f /etc/init.d
echo "...rc.local does not exist..." echo "...rc.local does not exist..."
elif [ -f /etc/rc.local ] || [ -f /etc/init.d/rc.local ] || [ -f /etc/init.d/rcS.local ]; then elif [ -f /etc/rc.local ] || [ -f /etc/init.d/rc.local ] || [ -f /etc/init.d/rcS.local ]; then
if [ -f /etc/rcS.d/S99neo.local ] ; then if [ -f /etc/rcS.d/S99neo.local ] ; then
rm -f /etc/rcS.d/S99neo.local chmod 755 /etc/rcS.d/S99neo.local
echo "...rm S99neo.local..." echo "...chmod S99neo.local..."
else else
echo "...rc.local exist..." echo "...rc.local exist..."
break ; break ;