summaryrefslogtreecommitdiffstats
path: root/install/randommac
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-05-27 11:31:02 +0200
committerGravatar Christian Hesse <mail@eworm.de>2013-05-27 11:31:02 +0200
commit961266e262590d5018a1e9bd95632d3cad51dde9 (patch)
tree5524b11ebc844cda2810b585b4bb35a1d343905a /install/randommac
parentb53b4ade39707c67578930a52852609a3a81dc6c (diff)
downloadmkinitcpio-randommac-961266e262590d5018a1e9bd95632d3cad51dde9.tar.gz
mkinitcpio-randommac-961266e262590d5018a1e9bd95632d3cad51dde9.tar.zst
Initial import0.1.0
Diffstat (limited to 'install/randommac')
-rw-r--r--install/randommac13
1 files changed, 13 insertions, 0 deletions
diff --git a/install/randommac b/install/randommac
new file mode 100644
index 0000000..98526d5
--- /dev/null
+++ b/install/randommac
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+build() {
+ add_runscript
+ add_binary macchanger
+ add_file /usr/share/macchanger/OUI.list
+ add_file /usr/share/macchanger/wireless.list
+}
+
+help() {
+ echo "This hook initilizes first network device with random mac"
+ echo "address from inside initramfs."
+}