From: Michael Tremer Date: Sun, 24 May 2009 15:34:36 +0000 (+0200) Subject: network: Made config command for mtu. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=767be129b2b91027d6df541b4c0556be87bea35a;p=ipfire-3.x.git network: Made config command for mtu. --- diff --git a/src/network/lib/hooks/mtu b/src/network/lib/hooks/mtu index 2cbd039ab..2fd36fb04 100644 --- a/src/network/lib/hooks/mtu +++ b/src/network/lib/hooks/mtu @@ -66,6 +66,13 @@ case "${1}" in ;; config) + MTU=$3 + check_config + cat << EOF >> ${CONFIG_ZONES}/${zone}/mtu +HOOK=mtu +MTU=$MTU +EOF + exit $? ;; *)