mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Change wizard interface, add VPS admin support,...
This commit is contained in:
parent
7f8f15b6fa
commit
0c54e920d8
11 changed files with 402 additions and 238 deletions
|
@ -1,4 +1,6 @@
|
|||
#!/bin/sh /etc/rc.common
|
||||
# Copyright (C) 2018 Ycarus (Yannick Chabanois) <ycarus@zugaina.org>
|
||||
# Released under GPL 3. See LICENSE for the full terms.
|
||||
|
||||
START=5
|
||||
|
||||
|
@ -38,17 +40,17 @@ set_ipv6_state() {
|
|||
uci -q set shadowsocks-libev.hi.local_address="::"
|
||||
fi
|
||||
uci -q commit dhcp
|
||||
if [ "$disable_ipv6" == "1" ]; then
|
||||
/etc/init.d/odhcpd stop >/dev/null 2>&1
|
||||
/etc/init.d/odhcpd disable >/dev/null 2>&1
|
||||
fi
|
||||
#if [ "$disable_ipv6" == "1" ]; then
|
||||
# /etc/init.d/odhcpd stop >/dev/null 2>&1
|
||||
# /etc/init.d/odhcpd disable >/dev/null 2>&1
|
||||
#fi
|
||||
}
|
||||
|
||||
start_service() {
|
||||
local scaling_min_freq scaling_max_freq
|
||||
|
||||
config_load openmptcprouter
|
||||
config_foreach omr_intf_del interface
|
||||
#config_load openmptcprouter
|
||||
#config_foreach omr_intf_del interface
|
||||
config_load network
|
||||
config_foreach omr_intf_set interface
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue