[v1.0.2] Suit lower version iptables and Add inotify service.

This commit is contained in:
chendefine
2019-03-31 18:28:29 +08:00
parent 76fb4ff667
commit b867eb72aa
6 changed files with 170 additions and 84 deletions

View File

@@ -8,4 +8,5 @@ MODDIR=${0%/*}
# This script will be executed in late_start service mode
if [ ! -f /data/v2ray/no-autostart ] ; then $MODDIR/v2ray.service start && [ -f /data/v2ray/appid.list ] && $MODDIR/v2ray.redirect enable ; fi
if [ ! -f /data/v2ray/manual ] ; then $MODDIR/scripts/v2ray.service start && [ -f /data/v2ray/appid.list ] && $MODDIR/scripts/v2ray.tproxy enable ; fi
inotifyd $MODDIR/scripts/v2ray.inotify $MODDIR &