From 37557b37a98e343fd17aee816a3f1374ccebe189 Mon Sep 17 00:00:00 2001 From: Felix Fietkau <nbd@openwrt.org> Date: Sun, 2 Oct 2005 21:18:45 +0000 Subject: [PATCH] another fix for the hosts page SVN-Revision: 2030 --- openwrt/package/webif/files/www/cgi-bin/webif/hosts.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/openwrt/package/webif/files/www/cgi-bin/webif/hosts.sh b/openwrt/package/webif/files/www/cgi-bin/webif/hosts.sh index a0526adb0f..5faa4885c6 100755 --- a/openwrt/package/webif/files/www/cgi-bin/webif/hosts.sh +++ b/openwrt/package/webif/files/www/cgi-bin/webif/hosts.sh @@ -65,7 +65,6 @@ hostname|FORM_host_name|Hostname|required|$FORM_host_name" && update_hosts add " } [ ! -z "$FORM_add_dhcp" ] && { # add a host to /etc/ethers - [ -f /tmp/.webif/file-ethers ] || cat /etc/ethers > /tmp/.webif/file-ethers validate "mac|FORM_dhcp_mac|MAC Address|required|$FORM_dhcp_mac ip|FORM_dhcp_ip|IP|required|$FORM_dhcp_ip" && update_ethers add "$FORM_dhcp_mac" "$FORM_dhcp_ip" } -- 2.30.2