summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xnet-physical2
1 files changed, 1 insertions, 1 deletions
diff --git a/net-physical b/net-physical
index 6b5ac20..de167c1 100755
--- a/net-physical
+++ b/net-physical
@@ -7,7 +7,7 @@ for link in $links; do
if ipadm "create-if" $link; then # create-if is in quotes because ViM goes crazy
timeout=30
state=`dladm show-phys -p -o state $link`
- if [ "$state" != up ]; then
+ if [ "$state" == down ]; then
# http://slackware.com/~alien/rc_scripts/rc.inet1
timeout=7
fi