summaryrefslogtreecommitdiffstats
path: root/initramfs/initrd-stuff/init
diff options
context:
space:
mode:
authorDirk von Suchodoletz2007-08-01 19:18:15 +0200
committerDirk von Suchodoletz2007-08-01 19:18:15 +0200
commitea09c5c53df9f4615958a1af31d60f2e419293dc (patch)
tree0fba1f26d36b84e6f6f4f00202990a5bc06e83c4 /initramfs/initrd-stuff/init
parent... add option/proto for file=... to use some local source for ConfTGZ, (diff)
downloadcore-ea09c5c53df9f4615958a1af31d60f2e419293dc.tar.gz
core-ea09c5c53df9f4615958a1af31d60f2e419293dc.tar.xz
core-ea09c5c53df9f4615958a1af31d60f2e419293dc.zip
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
Diffstat (limited to 'initramfs/initrd-stuff/init')
-rwxr-xr-xinitramfs/initrd-stuff/init8
1 files changed, 4 insertions, 4 deletions
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; }