summaryrefslogtreecommitdiffstats
path: root/initramfs/mkdxsinitrd
diff options
context:
space:
mode:
Diffstat (limited to 'initramfs/mkdxsinitrd')
-rwxr-xr-xinitramfs/mkdxsinitrd22
1 files changed, 12 insertions, 10 deletions
diff --git a/initramfs/mkdxsinitrd b/initramfs/mkdxsinitrd
index fef86d76..b7f11494 100755
--- a/initramfs/mkdxsinitrd
+++ b/initramfs/mkdxsinitrd
@@ -53,6 +53,7 @@ D_XFONTPATH="<set in ~/distro-config/distro file>"
D_DEFAULTCOUNTRY="<set in ~/distro-config/distro file>"
# read in the global settings
SLX_CONFIG_PATH=@@@SLX_CONFIG_PATH@@@
+SLX_SHARE_PATH=@@@SLX_SHARE_PATH@@@
[ -f $SLX_SHARE_PATH/settings.default ] && \
. $SLX_SHARE_PATH/settings.default
[ -f $SLX_CONFIG_PATH/settings ] && \
@@ -100,17 +101,18 @@ precheck() {
echo -e "\nYou don't have the needed permission. Please rerun as root user!\n"
exit 1
fi
+ # fixme:: Do we really need this!?
# Check for correct settings of SLX-Variables
- if [ "x" == "x$SLX_BASE_PATH" ]; then
- if [ "x$SLX_CONFIG_PATH" == "x@@@SLX_CONFIG_PATH@@@" ]; then
- echo "Please make sure you install the Open SLX Software properly,"
- echo "i.e. install it using the provided Makefile. Thanks."
- else
- echo "Essential configuration is missing. Please verify"
- echo "existence and correctness of $SLX_SHARE_PATH/settings.default"
- fi
- exit 1
- fi
+ #if [ "x" == "x$SLX_BASE_PATH" ]; then
+ # if [ "x$SLX_CONFIG_PATH" == "x@@@SLX_CONFIG_PATH@@@" ]; then
+ # echo "Please make sure you install the Open SLX Software properly,"
+ # echo "i.e. install it using the provided Makefile. Thanks."
+ # else
+ # echo "Essential configuration is missing. Please verify"
+ # echo "existence and correctness of $SLX_SHARE_PATH/settings.default"
+ # fi
+ # exit 1
+ #fi
}
# replaces which command to find executables inside ROOTDIR