forked from freifunk-franken/firmware
Fixed Problem with port mode changing
Signed-off-by: Jan Kraus <mayosemmel@gmail.com> Reviewed-by: Christian Dresel <fff@chrisi01.de> Reviewed-by: Tim Niemeyer <tim@tn-x.org>
This commit is contained in:
parent
571239c78c
commit
6786d40096
|
@ -5,7 +5,6 @@
|
|||
## If you want to change their behavior, you can do so below.
|
||||
## After that you have to reset the config with following commands.
|
||||
#cp /rom/etc/sysctl.conf /etc/sysctl.conf
|
||||
#cp /rom/etc/config/network /etc/config/network
|
||||
#reboot
|
||||
#
|
||||
### The canonical syntax of this file is:
|
||||
|
|
|
@ -6,7 +6,6 @@ if [ "$REQUEST_METHOD" == "POST" ] ; then
|
|||
sed -i '/^.*# set via WebUI/d' /etc/network.mode
|
||||
echo "ETHMODE=\"${POST_mode}\" # set via WebUI" >> /etc/network.mode
|
||||
cp /rom/etc/sysctl.conf /etc/sysctl.conf
|
||||
cp /rom/etc/config/network /etc/config/network
|
||||
do_reboot=1
|
||||
MSG='<span class="green">Port Modus geändert! Router startet neu...</span>'
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue