From 025e90bb58fb8306cf359a147d3dc5ad76d02c8f Mon Sep 17 00:00:00 2001 From: Sebastian Schmelzer Date: Tue, 14 Oct 2008 17:20:22 +0000 Subject: * fix for #212 git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2295 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initramfs/stage3-stuff/bin/init-wrapper | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 initramfs/stage3-stuff/bin/init-wrapper (limited to 'initramfs/stage3-stuff/bin/init-wrapper') diff --git a/initramfs/stage3-stuff/bin/init-wrapper b/initramfs/stage3-stuff/bin/init-wrapper new file mode 100755 index 00000000..3efd1cf4 --- /dev/null +++ b/initramfs/stage3-stuff/bin/init-wrapper @@ -0,0 +1,28 @@ +#!/bin/ash +# Copyright (c) 2006..2008 - OpenSLX GmbH +# +# This program is free software distributed under the GPL version 2. +# See http://openslx.org/COPYING +# +# If you have any feedback please consult http://openslx.org/feedback and +# send your feedback to feedback@openslx.org +# +# General information about OpenSLX can be found at http://openslx.org +# +# wrapperscript for plugin init files +############################################################################# + +# how do the localization here? There is not yet a country-Variable +. /etc/messages +. /etc/functions +. /etc/distro-functions + +# configuration settings for this slx system's environment +. /etc/slxsystem.conf 2>/dev/null + +# initramfs-setup configuration (common initial settings for all clients using +# a certain InitRamFS generated by slxconfig-demuxer) +[ -f /etc/initramfs-setup ] && . /etc/initramfs-setup 2>/dev/null + +[ -f $1 ] && . $1 + -- cgit v1.2.3-55-g7522