summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-11-18 21:25:03 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:02 +0100
commit231ba7d1606b33ffce1ff0db02fb3dfdb805e5d6 (patch)
treec787763583dae52f019c6b48ae5e592d1d744abd /examples
parent89ae0639913a580fdea900b171fb014aed14d6e0 (diff)
downloadlive-build-231ba7d1606b33ffce1ff0db02fb3dfdb805e5d6.zip
live-build-231ba7d1606b33ffce1ff0db02fb3dfdb805e5d6.tar.gz
Adding example hook to remove udev persistent device generator rules.
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/hooks/all_chroot_udev-generators.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/hooks/all_chroot_udev-generators.sh b/examples/hooks/all_chroot_udev-generators.sh
new file mode 100755
index 0000000..2431e3d
--- /dev/null
+++ b/examples/hooks/all_chroot_udev-generators.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# This is a hook for live-helper(7) to remove udev persistent device generator
+# rules.
+# To enable it, copy or symlink this hook into your config/chroot_local-hooks
+# directory.
+
+rm -f /etc/udev/rules.d/*persistent-net-generator.rules