From ea09c5c53df9f4615958a1af31d60f2e419293dc Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Wed, 1 Aug 2007 17:18:15 +0000 Subject: postinit.local should be set executable (was automatically done with mkdxsinitrd in earlier versions, but is transported via ConfTGZ now)i, small fixes for local device fileget ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1299 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initramfs/initrd-stuff/init | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'initramfs/initrd-stuff/init') diff --git a/initramfs/initrd-stuff/init b/initramfs/initrd-stuff/init index e3257bc9..15d88fc9 100755 --- a/initramfs/initrd-stuff/init +++ b/initramfs/initrd-stuff/init @@ -487,7 +487,6 @@ if [ -n "${bldmod}" ] ; then ;; lbdev) # using clients local block device (disk partition is to be specified) - echo "B: /dev/$blddev" RDEV=/dev/$blddev ;; esac @@ -770,9 +769,10 @@ fi # post init for some distro specific postinit -[ -s /initramfs/postinit.local ] && \ - mv /initramfs/postinit.local /bin/postinit.local -[ -x /bin/postinit.local ] && { +[ -s /initramfs/postinit.local ] && { + mv /initramfs/postinit.local /bin/postinit.local; + chmod u+x /bin/postinit.local; } +[ -f /bin/postinit.local ] && { [ $DEBUGLEVEL -gt 0 ] && \ echo "Running postinit.local - if boot stops here, check the script!" /bin/postinit.local; } -- cgit v1.2.3-55-g7522