work around udev's "cosmetic warnings"
[grml-live.git] / etc / grml / fai / config / scripts / GRMLBASE / 10-build-initramfs
index d6930fe..2d286ea 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 # Filename:      /etc/grml/fai/config/scripts/GRMLBASE/10-build-initramfs
 # Purpose:       configure live-initramfs and build initramfs for booting
 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
@@ -8,8 +8,8 @@
 
 set -e
 
-fcopy /etc/live.conf
 fcopy /usr/share/initramfs-tools/scripts/init-top/grml
+fcopy /etc/initramfs-tools/hooks/000-udev-shutup
 
 FILE=$(ls -1 $target/boot/vmlinuz-* 2>/dev/null| sort -r | head -1)
 KERNELVERSION=$(echo "${FILE##$target/boot/vmlinuz-}")