From e896de742e057f5a8f0110ca2c290588d06df4ca Mon Sep 17 00:00:00 2001 From: Sebastian Schmelzer Date: Tue, 2 Sep 2008 10:57:53 +0000 Subject: * fix typo; add check if init script is existing git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2184 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initramfs/distro-specs/ubuntu/functions-8.04 | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/initramfs/distro-specs/ubuntu/functions-8.04 b/initramfs/distro-specs/ubuntu/functions-8.04 index 342da6df..1c00d9d8 100644 --- a/initramfs/distro-specs/ubuntu/functions-8.04 +++ b/initramfs/distro-specs/ubuntu/functions-8.04 @@ -14,7 +14,12 @@ # initial ramfs - stage3) It may overwrite settings from the default config # file (/etc/functions) -config_udev { - rllinker "udev" 7 14 - rllinker "udev-finish" 24 2 +config_udev () { + if [ -f /mnt/etc/init.d/udev ] ; then + rllinker "udev" 7 14 + fi + if [ -f /mnt/etc/init.d/udev-finish ] ; then + rllinker "udev-finish" 24 2 + fi } + -- cgit v1.2.3-55-g7522