summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Grennan <tgrennan@vyatta.com>2007-09-19 16:45:47 -0700
committerTom Grennan <tgrennan@vyatta.com>2007-09-19 16:45:47 -0700
commite42c51dd83d1f10421174b454e16e51e9da2eb7d (patch)
tree4663f1b35ce1208bf74df3fd984848e793302d3f
parenta72a48c6e541665c2ae36520f78e7f30c6d72312 (diff)
downloadvyatta-op-e42c51dd83d1f10421174b454e16e51e9da2eb7d.tar.gz
vyatta-op-e42c51dd83d1f10421174b454e16e51e9da2eb7d.zip
fix bash shopt extglob
-rwxr-xr-xscripts/show_interfaces3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/show_interfaces b/scripts/show_interfaces
index 700ea43..44b3c8c 100755
--- a/scripts/show_interfaces
+++ b/scripts/show_interfaces
@@ -1,4 +1,4 @@
-#!/bin/bash -O extglob
+#!/bin/bash
# **** License ****
# Version: VPL 1.0
#
@@ -21,6 +21,7 @@
#
# **** End License ****
+shopt -s extglob
shopt -s nullglob
test -f /etc/default/vyatta && source /etc/default/vyatta