Skip to content

Commit

Permalink
Merge pull request #344 from nodogsplash/openwrt_cleanup
Browse files Browse the repository at this point in the history
remove dead code for removed network setting
  • Loading branch information
mwarning committed Mar 20, 2019
2 parents 60d218c + fae9817 commit b5e88b5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion openwrt/nodogsplash/files/etc/config/nodogsplash
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ config nodogsplash
#option preauth '/bin/mypreauth.sh'

# Your router may have several interfaces, and you
# probably want to keep them private from the network/gatewayinterface.
# probably want to keep them private from the gatewayinterface.
# If so, you should block the entire subnets on those interfaces, e.g.:
#list authenticated_users 'block to 192.168.0.0/16'
#list authenticated_users 'block to 10.0.0.0/8'
Expand Down
3 changes: 0 additions & 3 deletions openwrt/nodogsplash/files/etc/init.d/nodogsplash
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,6 @@ generate_uci_config() {
fi

config_get ifname "$cfg" gatewayinterface
if [ -z "$ifname" ]; then
config_get ifname "$cfg" network
fi

# Get device name if interface name is a section name in /etc/config/network
if network_get_device tmp "$ifname"; then
Expand Down

0 comments on commit b5e88b5

Please sign in to comment.