Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Thomas Orgis (e70bf15c04d5b765a31e0b254701de242d3c352c)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Thomas Orgis <scm AT mail.sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Thomas Orgis (e70bf15c04d5b765a31e0b254701de242d3c352c)
  • Date: Sat, 3 Feb 2007 13:55:13 -0600

GIT changes to master grimoire by Thomas Orgis <sobukus AT sourcemage.org>:

smgl/init.d/DETAILS | 2 +-
smgl/init.d/HISTORY | 3 +++
smgl/init.d/files/smgl_telinit | 3 ++-
3 files changed, 6 insertions(+), 2 deletions(-)

New commits:
commit e70bf15c04d5b765a31e0b254701de242d3c352c
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Thomas Orgis <sobukus AT sourcemage.org>

init.d: fixing bug 13015, be persistent when disabling init scripts

diff --git a/smgl/init.d/DETAILS b/smgl/init.d/DETAILS
index 7e4baf9..dab9e81 100755
--- a/smgl/init.d/DETAILS
+++ b/smgl/init.d/DETAILS
@@ -1,5 +1,5 @@
SPELL=init.d
- VERSION=2.2.1
+ VERSION=2.2.2
LICENSE[0]=GPL
KEYWORDS="smgl"
ENTERED=20030505
diff --git a/smgl/init.d/HISTORY b/smgl/init.d/HISTORY
index 564d05f..7717819 100644
--- a/smgl/init.d/HISTORY
+++ b/smgl/init.d/HISTORY
@@ -1,6 +1,9 @@
2007-02-03 Thomas Orgis <sobukus AT sourcemage.org>
* DETAILS, files/smgl_init: give message when refraining from running
init script that is not configured as provider, version 2.2.1
+ * DETAILS, files/smgl_telinit: also handle bug 13015, adding the
+ fault tolerance when disabling an init script
+ this is version 2.2.2 for keeping consistency

2007-01-30 Juuso Alasuutari <iuso AT sourcemage.org>
* DEPENDS: Depend on udev-old instead of udev only when absolutely
diff --git a/smgl/init.d/files/smgl_telinit b/smgl/init.d/files/smgl_telinit
index 3fc8022..e1153ee 100755
--- a/smgl/init.d/files/smgl_telinit
+++ b/smgl/init.d/files/smgl_telinit
@@ -70,7 +70,8 @@ run_disable()
local RL="$(echo $FILE | sed -e 's!^.*/%\(.*\)/.*$!\1!')"
if display-services | grep -q "^%$RL" ; then
echo "Stopping script $i because it was disabled within a running
runlevel."
- run_script "$i" "$i" stop && { initctl -c "$i" || true ; } || exit
1
+ run_script "$i" "$i" stop && { initctl -c "$i" || true ; } ||
+ echo 'Hm, failed to properly stop the script - is that the reason
for you to disable it?'
else
echo "Not stopping script $i because it was disabled within a
non-running runlevel."
fi




Archive powered by MHonArc 2.6.24.

Top of Page