Sha256: 9410a81f395ccdf39957edf33ae5cd6b579e4943d6ea3fd85b54e575482a087b
Contents?: true
Size: 275 Bytes
Versions: 3
Compression:
Stored size: 275 Bytes
Contents
#!/bin/bash # INTF=${1:-eth0} #TAGS=ubuntu,debian echo "$0 v$VER, down/up of interface '$INTF'.." echo "Crontabbing to take it up in a minute.." echo ifup $INTF | at now + 1 min echo "Down and up within 5secs of interface '$INTF'..." sleep 5 | ifdown $INTF && ifup $INTF
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sakuric-2.1.3 | bin/ifdownup |
sakuric-2.0.3 | bin/ifdownup |
sakuric-2.0.1 | bin/ifdownup |