diff options
author | Sebastian Schmelzer | 2008-09-02 12:57:53 +0200 |
---|---|---|
committer | Sebastian Schmelzer | 2008-09-02 12:57:53 +0200 |
commit | e896de742e057f5a8f0110ca2c290588d06df4ca (patch) | |
tree | eaf7db76b5dec77f5b91ba509e45906ef255ea86 | |
parent | * add configuration for ubuntu udev init script (diff) | |
download | core-e896de742e057f5a8f0110ca2c290588d06df4ca.tar.gz core-e896de742e057f5a8f0110ca2c290588d06df4ca.tar.xz core-e896de742e057f5a8f0110ca2c290588d06df4ca.zip |
* 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
-rw-r--r-- | initramfs/distro-specs/ubuntu/functions-8.04 | 11 |
1 files 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 } + |