From b7ca4bf281f0c5997fa8f52ed11d98dd32601f2c Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Thu, 18 Feb 2010 00:10:39 -0300 Subject: Rename archiso-early hook to archiso_early To make compatible with disablehooks= param. Since "hook_archiso-early" is not a valid variable name. Signed-off-by: Gerardo Exequiel Pozzi --- archiso/hooks/archiso-early | 8 -------- archiso/hooks/archiso_early | 8 ++++++++ 2 files changed, 8 insertions(+), 8 deletions(-) delete mode 100644 archiso/hooks/archiso-early create mode 100644 archiso/hooks/archiso_early (limited to 'archiso/hooks') diff --git a/archiso/hooks/archiso-early b/archiso/hooks/archiso-early deleted file mode 100644 index edd554b..0000000 --- a/archiso/hooks/archiso-early +++ /dev/null @@ -1,8 +0,0 @@ -# vim: set ft=sh: -run_hook () -{ - if [ -n "${archisolabel}" ]; then - echo "ACTION==\"add|change\", SUBSYSTEM==\"block\", IMPORT{program}=\"/sbin/blkid -o udev \$tempnode\"" > /lib/udev/rules.d/00-archiso-device.rules - echo "ENV{ID_FS_LABEL_ENC}==\"${archisolabel}\", SYMLINK+=\"archiso\"" >> /lib/udev/rules.d/00-archiso-device.rules - fi -} diff --git a/archiso/hooks/archiso_early b/archiso/hooks/archiso_early new file mode 100644 index 0000000..edd554b --- /dev/null +++ b/archiso/hooks/archiso_early @@ -0,0 +1,8 @@ +# vim: set ft=sh: +run_hook () +{ + if [ -n "${archisolabel}" ]; then + echo "ACTION==\"add|change\", SUBSYSTEM==\"block\", IMPORT{program}=\"/sbin/blkid -o udev \$tempnode\"" > /lib/udev/rules.d/00-archiso-device.rules + echo "ENV{ID_FS_LABEL_ENC}==\"${archisolabel}\", SYMLINK+=\"archiso\"" >> /lib/udev/rules.d/00-archiso-device.rules + fi +} -- cgit v1.2.3-70-g09d2