drop obsolete script
This commit is contained in:
parent
b751c2962d
commit
e9fe79986e
|
@ -3,7 +3,6 @@ __HEADER__
|
|||
# For OpenCamera to be picked by android 11 camera intend, it must be promoted system application
|
||||
list_files() {
|
||||
cat <<EOF
|
||||
bin/oem-iptables-init.sh
|
||||
priv-app/OpenCamera/OpenCamera.apk
|
||||
EOF
|
||||
}
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
#!/system/bin/sh
|
||||
|
||||
export PATH=/system/bin
|
||||
|
||||
iptables -t nat -A OUTPUT ! -o tun0 -p udp --dport 53 -j DNAT --to-destination 1.1.1.1
|
||||
iptables -t nat -A OUTPUT ! -o tun0 -p tcp --dport 53 -j DNAT --to-destination 1.1.1.1
|
||||
|
|
@ -16,12 +16,6 @@ cp cm-data/system-setup-runonce.sh /sdcard/system-setup-runonce.sh
|
|||
chown root:root /sdcard/system-setup-runonce.sh
|
||||
chmod 750 /sdcard/system-setup-runonce.sh
|
||||
|
||||
# install iptables script
|
||||
echo "Installing iptables script"
|
||||
cp cm-data/oem-iptables-init.sh ${SYSTEM}/bin/oem-iptables-init.sh
|
||||
chown root:root ${SYSTEM}/bin/oem-iptables-init.sh
|
||||
chmod 750 ${SYSTEM}/bin/oem-iptables-init.sh
|
||||
|
||||
# install restore script
|
||||
echo "Installing restore script"
|
||||
cp cm-data/99-perso.sh.addon ${SYSTEM}/addon.d/99-perso.sh
|
||||
|
|
Loading…
Reference in a new issue