diff options
author | Daniel Baumann <daniel@debian.org> | 2009-11-18 21:25:03 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:17:02 +0100 |
commit | 231ba7d1606b33ffce1ff0db02fb3dfdb805e5d6 (patch) | |
tree | c787763583dae52f019c6b48ae5e592d1d744abd /examples/hooks | |
parent | 89ae0639913a580fdea900b171fb014aed14d6e0 (diff) | |
download | vyos-live-build-231ba7d1606b33ffce1ff0db02fb3dfdb805e5d6.tar.gz vyos-live-build-231ba7d1606b33ffce1ff0db02fb3dfdb805e5d6.zip |
Adding example hook to remove udev persistent device generator rules.
Diffstat (limited to 'examples/hooks')
-rwxr-xr-x | examples/hooks/all_chroot_udev-generators.sh | 8 |
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 000000000..2431e3d5a --- /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 |