Skip to content

Commit

Permalink
Fixed indentation error in script for DHCP configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
mame82 committed Oct 16, 2017
1 parent 5c18e66 commit 062d126
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions boot/init_usb_ethernet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -163,14 +163,14 @@ function create_DHCP_config()
# routes static (route 128.0.0.1 to 255.255.255.254 through our device)
dhcp-option=249,0.0.0.0/1,$IF_IP,128.0.0.0/1,$IF_IP
EOF
else
cat <<- EOF >> /tmp/dnsmasq_usb_eth.conf
# router disable DHCP gateway announcment
dhcp-option=3
# disable DNS settings
dhcp-option=6
EOF
else
cat <<- EOF >> /tmp/dnsmasq_usb_eth.conf
# router disable DHCP gateway announcment
dhcp-option=3
# disable DNS settings
dhcp-option=6
EOF
fi

if $WPAD_ENTRY; then
Expand Down

0 comments on commit 062d126

Please sign in to comment.