summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
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