diff options
author | Dirk von Suchodoletz | 2007-05-07 23:58:38 +0200 |
---|---|---|
committer | Dirk von Suchodoletz | 2007-05-07 23:58:38 +0200 |
commit | 02ac851375a7ba50ee16cc429030a9c8a056fd8f (patch) | |
tree | 95712e2f32f0afbc974e3b24d5782d2a8784b763 /initramfs/mkdxsinitrd | |
parent | Some more devices are needed (not automatically produced by mdev) ... (diff) | |
download | core-02ac851375a7ba50ee16cc429030a9c8a056fd8f.tar.gz core-02ac851375a7ba50ee16cc429030a9c8a056fd8f.tar.xz core-02ac851375a7ba50ee16cc429030a9c8a056fd8f.zip |
Ugly legacy removed (do not read stage3 functions for mkdxsinitrd),
thanks to Nico pointing that out ...
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1027 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/mkdxsinitrd')
-rwxr-xr-x | initramfs/mkdxsinitrd | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/initramfs/mkdxsinitrd b/initramfs/mkdxsinitrd index 6557995f..33355310 100755 --- a/initramfs/mkdxsinitrd +++ b/initramfs/mkdxsinitrd @@ -57,14 +57,15 @@ SLX_CONFIG_PATH=@@@SLX_CONFIG_PATH@@@ . $SLX_CONFIG_PATH/settings.default [ -f $SLX_CONFIG_PATH/settings.local ] && \ . $SLX_CONFIG_PATH/settings.local -# read the common functions file -[ -e ${SLX_SHARE_PATH}/initramfs/etc/functions ] && \ - . ${SLX_SHARE_PATH}/initramfs/etc/functions ######################################################################### # End of global variable declaration, nothing needed to be changed at # default below that line +testmkd () { + test -d $1 || mkdir -p $1 >/dev/null 2>&1 +} + usage() { echo -e "mkdxsinitrd [-dh] [-k kernel version] [-i path/file] \ |