summaryrefslogtreecommitdiffstats
path: root/initramfs/stage3-stuff/bin/init-wrapper
diff options
context:
space:
mode:
Diffstat (limited to 'initramfs/stage3-stuff/bin/init-wrapper')
-rwxr-xr-xinitramfs/stage3-stuff/bin/init-wrapper28
1 files changed, 28 insertions, 0 deletions
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
+