X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=root-context%2Fexec%2Fhide_netif;fp=root-context%2Fexec%2Fhide_netif;h=c7ae234dc61227bd15b5b12674071df7c32c40da;hb=10503d985ac1acdac4ed653e608ccc492baa446a;hp=0000000000000000000000000000000000000000;hpb=46f46b3486d68231a875c7c21e5dd64282b3813a;p=vsys-scripts.git diff --git a/root-context/exec/hide_netif b/root-context/exec/hide_netif new file mode 100755 index 0000000..c7ae234 --- /dev/null +++ b/root-context/exec/hide_netif @@ -0,0 +1,6 @@ +#!/bin/sh +# Remove hide_netif network attribute. Attribute is used to hide interfaces that don't have an IP attached. + +# $Id$ + +nattribute --set --nid $1 --flag ~hide_netif