Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Ladislav Hagara (a1e058cd6b67ca4d3b6ec1dd5ff07ea47106dd9e)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ladislav Hagara <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Ladislav Hagara (a1e058cd6b67ca4d3b6ec1dd5ff07ea47106dd9e)
  • Date: Sat, 30 Jul 2011 18:59:59 -0500

GIT changes to master grimoire by Ladislav Hagara <hgr AT vabo.cz>:

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

New commits:
commit a1e058cd6b67ca4d3b6ec1dd5ff07ea47106dd9e
Author: Ladislav Hagara <hgr AT vabo.cz>
Commit: Ladislav Hagara <hgr AT vabo.cz>

init.d: updated to work with linux 3

diff --git a/smgl/init.d/DETAILS b/smgl/init.d/DETAILS
index 2b6a208..8c13fa9 100755
--- a/smgl/init.d/DETAILS
+++ b/smgl/init.d/DETAILS
@@ -1,5 +1,5 @@
SPELL=init.d
- VERSION=2.2.12
+ VERSION=2.2.13
LICENSE[0]=GPL
GATHER_DOCS=off
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
diff --git a/smgl/init.d/HISTORY b/smgl/init.d/HISTORY
index 54f1da1..d47336f 100644
--- a/smgl/init.d/HISTORY
+++ b/smgl/init.d/HISTORY
@@ -1,3 +1,7 @@
+2011-07-30 Ladislav Hagara <hgr AT vabo.cz>
+ * DETAILS: 2.2.13
+ * init.d/devices: updated to work with linux 3
+
2011-06-11 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: 2.2.12
* init.d/devices: grep shouldn't be used on such low-level stage,
cause
diff --git a/smgl/init.d/init.d/devices b/smgl/init.d/init.d/devices
index dde9a1b..a86d128 100755
--- a/smgl/init.d/init.d/devices
+++ b/smgl/init.d/init.d/devices
@@ -60,7 +60,7 @@ start_udev()
SUBLEVEL=${SUBLEVEL/$tmp/}

# kernel 2.6.15-rc1 and higher don't use hotplug
- if [ $SUBLEVEL -ge 15 -a $PATCHLEVEL -ge 6 ]; then
+ if [[ $(uname -r) = 3.* ]] || [ $SUBLEVEL -ge 15 -a $PATCHLEVEL -ge 6
]; then
echo "don't need hotplug for this kernel"
builtin echo > /proc/sys/kernel/hotplug
else
@@ -108,7 +108,7 @@ start_static_udev()
SUBLEVEL=${SUBLEVEL/$tmp/}

# kernel 2.6.15-rc1 and higher don't use hotplug
- if [ $SUBLEVEL -ge 15 -a $PATCHLEVEL -ge 6 ]; then
+ if [[ $(uname -r) = 3.* ]] || [ $SUBLEVEL -ge 15 -a $PATCHLEVEL -ge 6
]; then
echo "don't need hotplug for this kernel"
builtin echo > /proc/sys/kernel/hotplug
else



  • [SM-Commit] GIT changes to master grimoire by Ladislav Hagara (a1e058cd6b67ca4d3b6ec1dd5ff07ea47106dd9e), Ladislav Hagara, 07/30/2011

Archive powered by MHonArc 2.6.24.

Top of Page