summaryrefslogtreecommitdiffstats
path: root/.graveyard/autowifi/confdir/hooks/wlan0/pre/00changemac
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2013-11-19 08:51:24 +0100
committermakefu <github@syntax-fehler.de>2013-11-19 08:51:24 +0100
commit1a49b2e844a733812be1de8fc76af1a4c2ec5f0e (patch)
tree616db5a7eb6339e399ff4daafbb83c5e5b59928d /.graveyard/autowifi/confdir/hooks/wlan0/pre/00changemac
parent022d115bdae70e588b4639da5b3037845fab9fe6 (diff)
autowifi -> graveyard
autowifi source is superserseeded by github.com/krebscode/autowifi
Diffstat (limited to '.graveyard/autowifi/confdir/hooks/wlan0/pre/00changemac')
-rwxr-xr-x.graveyard/autowifi/confdir/hooks/wlan0/pre/00changemac5
1 files changed, 5 insertions, 0 deletions
diff --git a/.graveyard/autowifi/confdir/hooks/wlan0/pre/00changemac b/.graveyard/autowifi/confdir/hooks/wlan0/pre/00changemac
new file mode 100755
index 00000000..c3e0632f
--- /dev/null
+++ b/.graveyard/autowifi/confdir/hooks/wlan0/pre/00changemac
@@ -0,0 +1,5 @@
+#!/bin/sh
+ifconfig wlan0 down
+sleep 1
+macchanger -r wlan0
+ifconfig wlan0 up