Skip to Content.
Sympa Menu

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

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 (3557779e83b678984da4680394120ea99b92b879)
  • Date: Sat, 18 Nov 2006 23:21:32 -0600

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

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

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

nicer statusproc through nicer getpids (no line breaks)

diff --git a/smgl/init.d/DETAILS b/smgl/init.d/DETAILS
index ffaa50d..1fdb5a3 100755
--- a/smgl/init.d/DETAILS
+++ b/smgl/init.d/DETAILS
@@ -1,7 +1,7 @@
SPELL=init.d
VERSION=2.2.0
LICENSE[0]=GPL
- PATCHLEVEL=14
+ PATCHLEVEL=15
KEYWORDS="smgl"
ENTERED=20030505
SHORT="This is the basic initalization system of SMGL"
diff --git a/smgl/init.d/HISTORY b/smgl/init.d/HISTORY
index 3884168..ac9b71a 100644
--- a/smgl/init.d/HISTORY
+++ b/smgl/init.d/HISTORY
@@ -1,6 +1,11 @@
2006-11-19 Thomas Orgis <sobukus AT sourcemage.org>
* files/smgl_functions: added setting of $base to statusproc - it is
nice to know for which process name the status is
+ * files/smgl_functions: getpids now results in $pidlist without
newlines,
+ makes statusproc a lot nicer when there are multiple PIDs; other
existing
+ uses are the same as statusproc or consist of either test -n or
test -z,
+ thus are not affected
+ * DETAILS: patchlevel increment (why not version number...?)

2006-11-02 Thomas Orgis <sobukus AT sourcemage.org>
* init.d/mountall.sh: device mapper may simply fail because no kernel
diff --git a/smgl/init.d/files/smgl_functions
b/smgl/init.d/files/smgl_functions
index 03e0c47..2d42083 100644
--- a/smgl/init.d/files/smgl_functions
+++ b/smgl/init.d/files/smgl_functions
@@ -138,7 +138,7 @@ export -f print_status
getpids()
{
local base=${1##*/}
- pidlist="$(for i in $(pidof -o $$ -o $PPID -o '%PPID' -x $base); do grep
-vq '/etc/init[.]d' /proc/$i/cmdline && builtin echo $i; done)"
+ pidlist=$(builtin echo $(for i in $(pidof -o $$ -o $PPID -o '%PPID' -x
$base); do grep -vq '/etc/init[.]d' /proc/$i/cmdline && builtin echo $i;
done))
}

loadproc()



  • [SM-Commit] GIT changes to master grimoire by Thomas Orgis (3557779e83b678984da4680394120ea99b92b879), Thomas Orgis, 11/19/2006

Archive powered by MHonArc 2.6.24.

Top of Page