Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (836934cfe1960010a5696586f480dbda2acfa869)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (836934cfe1960010a5696586f480dbda2acfa869)
  • Date: Thu, 28 Aug 2008 07:50:52 -0500

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

smgl/init.d/HISTORY | 3 +++
smgl/init.d/init.d/mountall.sh | 8 ++++----
2 files changed, 7 insertions(+), 4 deletions(-)

New commits:
commit 836934cfe1960010a5696586f480dbda2acfa869
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

init.d: fixed a bug about removing .* files/dirs

diff --git a/smgl/init.d/HISTORY b/smgl/init.d/HISTORY
index 23bbda9..196c3ad 100644
--- a/smgl/init.d/HISTORY
+++ b/smgl/init.d/HISTORY
@@ -1,3 +1,6 @@
+2008-08-28 Vlad Glagolev <stealth AT sourcemage.org>
+ * init.d/mountall.sh: fixed a bug about removing .* files/dirs
+
2008-08-22 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* mountroot.sh: don't unconditionally overwrite the mtab and do it
properly #14665
diff --git a/smgl/init.d/init.d/mountall.sh b/smgl/init.d/init.d/mountall.sh
index 7755aca..f0fa03f 100755
--- a/smgl/init.d/init.d/mountall.sh
+++ b/smgl/init.d/init.d/mountall.sh
@@ -83,13 +83,13 @@ start_cryptfs()
then
if [[ -b /dev/mapper/${parts[1]} ]]
then
- builtin echo "Device already exists maybe its open already"
+ builtin echo "Device already exists maybe its open already"
else
cryptsetup luksOpen ${parts[0]} ${parts[1]} < /dev/console >
/dev/console 2>&1
fi
else
builtin echo "Error device ${parts[0]} isn't a luks partition"
- return 1
+ return 1
fi
done
fi
@@ -102,7 +102,7 @@ start()

scanlvm
evaluate_retval
-
+
start_cryptfs
evaluate_retval

@@ -134,7 +134,7 @@ start()

if [ "$CLEAN_TMP" == "yes" ] ; then
echo "Cleaning out /tmp..."
- [ -d /tmp ] && rm -rf /tmp/*
+ [ -d /tmp ] && shopt dotglob && rm -rf /tmp/*
evaluate_retval
fi





Archive powered by MHonArc 2.6.24.

Top of Page