Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Pol Vinogradov (c4893de5ff66355779c53b88a6e4017fc8070152)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Pol Vinogradov <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Pol Vinogradov (c4893de5ff66355779c53b88a6e4017fc8070152)
  • Date: Sat, 20 Oct 2007 16:55:14 -0500

GIT changes to master grimoire by Pol Vinogradov <vin.public AT gmail.com>:

utils/watchdog/HISTORY | 4 ++++
utils/watchdog/init.d/watchdog | 9 ++++-----
2 files changed, 8 insertions(+), 5 deletions(-)

New commits:
commit 74ee31dc3b2bb90199bc00755b913c5fee156ddd
Author: Pol Vinogradov <vin.public AT gmail.com>
Commit: Pol Vinogradov <vin.public AT gmail.com>

utils/watchdog:

init.d/watchdog: fixed paths for devices files, make
/dev/temperature existance check optional, added -f key to lns

diff --git a/utils/watchdog/HISTORY b/utils/watchdog/HISTORY
index d5a4ca5..ee28411 100644
--- a/utils/watchdog/HISTORY
+++ b/utils/watchdog/HISTORY
@@ -1,3 +1,7 @@
+2007-10-21 Pol Vinogradov <vin.public AT gmail.com>
+ * init.d/watchdog: fixed paths for devices files, make
+ /dev/temperature existance check optional, added -f key to lnsx
+
2007-10-20 Pol Vinogradov <vin.public AT gmail.com>
* DETAILS: removed UPDATED, PATCHLEVEL++
* watchdog-gcc3.patch: updated so it builds with gcc 4.x
diff --git a/utils/watchdog/init.d/watchdog b/utils/watchdog/init.d/watchdog
index 0fb7e2c..e1de559 100644
--- a/utils/watchdog/init.d/watchdog
+++ b/utils/watchdog/init.d/watchdog
@@ -12,13 +12,12 @@ NEEDS="+remote_fs"
start()
{
echo "Starting watchdog..."
- . /etc/sysconfig/devices
- if ! ([ -e $DEVICES/misc/watchdog ] && [ -e $DEVICES/misc/temperature ]);
then
+ if [ -e /dev/misc/watchdog ] || [ -e /dev/misc/temperature ]; then
+ [ -e /dev/watchdog ] || ln -sf $DEVICES/misc/watchdog /dev/watchdog
+ [ -e /dev/temperature ] || ln -sf $DEVICES/misc/temperature
/dev/temperature
+ else
echo "No watchdog support in the kernel!"
exit 5
- else
- [ -e /dev/watchdog ] || ln -s $DEVICES/misc/watchdog /dev/watchdog
- [ -e /dev/temperature ] || ln -s $DEVICES/misc/temperature
/dev/temperature
fi
loadproc $PROGRAM $ARGS
}



  • [SM-Commit] GIT changes to master grimoire by Pol Vinogradov (c4893de5ff66355779c53b88a6e4017fc8070152), Pol Vinogradov, 10/20/2007

Archive powered by MHonArc 2.6.24.

Top of Page