增加判断以防奇奇怪怪的问题
This commit is contained in:
parent
622084b444
commit
f64afce0bf
@ -1,9 +1,9 @@
|
||||
# Put your custom commands here that should be executed once
|
||||
# the system init finished. By default this file does nothing.
|
||||
|
||||
mkdir /data
|
||||
if [ ! -d "/data" ];then mkdir /data; fi
|
||||
|
||||
rm /etc/config/adguardhome
|
||||
rm /etc/init.d/adguardhome
|
||||
if [ ! -f "/etc/init.d/adguardhome" ]; then rm /etc/init.d/adguardhome; fi
|
||||
if [ ! -f "/etc/config/adguardhome" ]; then rm /etc/config/adguardhome; fi
|
||||
|
||||
exit 0
|
Loading…
Reference in New Issue
Block a user