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:
Jan Kraus 2016-08-02 13:48:35 +02:00 committed by Jan Kraus
parent 571239c78c
commit 6786d40096
2 changed files with 0 additions and 2 deletions

View File

@ -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:

View File

@ -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&auml;ndert! Router startet neu...</span>'
fi