Refine clean up procedure

This commit is contained in:
Mygod
2018-01-04 16:08:09 +08:00
parent 3cfbb82a39
commit 4b5efdd310
2 changed files with 2 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ class SettingsFragment : PreferenceFragmentCompatDividers(), ServiceConnection {
"while iptables -D FORWARD -j vpnhotspot_fwd; do done",
"iptables -F vpnhotspot_fwd",
"iptables -X vpnhotspot_fwd",
"ip rule del lookup 62",
"while ip rule del lookup 62; do done",
"ip route flush table 62")
true
}