[Fix] Bash syntax
This commit is contained in:
parent
69a7419ab4
commit
4340df8201
|
@ -0,0 +1 @@
|
||||||
|
* text=auto
|
|
@ -132,7 +132,7 @@ if [[ $? != 0 ]]; then
|
||||||
return -1
|
return -1
|
||||||
else
|
else
|
||||||
rm -f /etc/rc.local; cp -f /etc/rc.local.bak /etc/rc.local; /etc/rc.local
|
rm -f /etc/rc.local; cp -f /etc/rc.local.bak /etc/rc.local; /etc/rc.local
|
||||||
bloom_reset()
|
bloom_reset
|
||||||
reboot
|
reboot
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
@ -152,7 +152,7 @@ if [[ -f /etc/rc.local.bak ]]; then
|
||||||
cp -f /etc/rc.local.bak /etc/rc.local
|
cp -f /etc/rc.local.bak /etc/rc.local
|
||||||
/etc/rc.local
|
/etc/rc.local
|
||||||
fi
|
fi
|
||||||
bloom_reset()
|
bloom_reset
|
||||||
exit 0
|
exit 0
|
||||||
EOF1
|
EOF1
|
||||||
#####End no touch zone#####
|
#####End no touch zone#####
|
||||||
|
|
Loading…
Reference in New Issue