diff options
author | Tom Grennan <tgrennan@vyatta.com> | 2007-09-19 14:19:55 -0700 |
---|---|---|
committer | Tom Grennan <tgrennan@vyatta.com> | 2007-09-19 14:19:55 -0700 |
commit | a72a48c6e541665c2ae36520f78e7f30c6d72312 (patch) | |
tree | 2a0411251a199f442191adaf3a46090fbd050c92 /scripts | |
parent | 607ab1113fd68be09b0bf40a8ae04a5a077aecfb (diff) | |
download | vyatta-op-a72a48c6e541665c2ae36520f78e7f30c6d72312.tar.gz vyatta-op-a72a48c6e541665c2ae36520f78e7f30c6d72312.zip |
fix linda/lintian detected errors
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/show_interfaces | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/scripts/show_interfaces b/scripts/show_interfaces index 1a8d804..700ea43 100755 --- a/scripts/show_interfaces +++ b/scripts/show_interfaces @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -O extglob # **** License **** # Version: VPL 1.0 # @@ -21,12 +21,11 @@ # # **** End License **** +shopt -s nullglob + test -f /etc/default/vyatta && source /etc/default/vyatta : ${vyatta_bindir:=/opt/vyatta/bin} -shopt -s extglob -shopt -s nullglob - declare progname=${0##*/} declare -a full_itfs=( /sys/class/net/+(eth|vmnet|lo|sit|wan)* ) declare -a itfs |