obuspa: updated default interface to loopback

This commit is contained in:
vdutta 2021-11-24 13:20:38 +05:30
parent 5173b01cb2
commit 0f05633d74
3 changed files with 5 additions and 5 deletions

View file

@ -5,7 +5,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=obuspa
PKG_VERSION:=4.1.0.9
PKG_VERSION:=4.1.0.10
LOCAL_DEV:=0
ifneq ($(LOCAL_DEV),1)

View file

@ -1,8 +1,8 @@
config obuspa 'global'
option enabled '1'
option interface 'wan'
#option ifname 'eth0.1'
option debug '0'
option interface 'loopback'
#option ifname 'lo'
option debug '1'
option log_level '1'
#option db_file '/etc/obuspa/usp.db'
#option role_file '/etc/obuspa/roles.json'

View file

@ -5,7 +5,7 @@
[ "$ACTION" = ifup -o "$ACTION" = ifupdate ] || exit 0
[ "$ACTION" = ifupdate -a -z "$IFUPDATE_ADDRESSES" ] && exit 0
echo "Restarting obuspa"|logger -t obuspa.hotplug -p debug
echo "Restarting obuspa bcz ${ACTION} and ${IFUPDATE_ADDRESSES} change"|logger -t obuspa.hotplug -p debug
/etc/init.d/obuspa reload