From 231ba7d1606b33ffce1ff0db02fb3dfdb805e5d6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 18 Nov 2009 21:25:03 +0100 Subject: Adding example hook to remove udev persistent device generator rules. --- examples/hooks/all_chroot_udev-generators.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 examples/hooks/all_chroot_udev-generators.sh 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 -- cgit v1.0