[arch-commits] Commit in i8kmon/repos (4 files)
Eric Bélanger
eric at archlinux.org
Fri Nov 14 08:11:39 UTC 2008
Date: Friday, November 14, 2008 @ 03:11:38
Author: eric
Revision: 19035
Merged revisions 19031,19033 via svnmerge from
svn+ssh://svn.archlinux.org/home/svn-packages/i8kmon/trunk
........
r19031 | eric | 2008-11-14 03:06:37 -0500 (Fri, 14 Nov 2008) | 2 lines
upgpkg: i8kmon 1.27-1
fixed daemon filename committed in svn
........
r19033 | eric | 2008-11-14 03:10:11 -0500 (Fri, 14 Nov 2008) | 1 line
removed duplicate contributor line
........
Added:
i8kmon/repos/extra-i686/i8kmon.daemon
(from rev 19033, i8kmon/trunk/i8kmon.daemon)
Modified:
i8kmon/repos/extra-i686/ (properties)
i8kmon/repos/extra-i686/PKGBUILD
Deleted:
i8kmon/repos/extra-i686/i8kmon
---------------+
PKGBUILD | 1 -
i8kmon | 37 -------------------------------------
i8kmon.daemon | 37 +++++++++++++++++++++++++++++++++++++
3 files changed, 37 insertions(+), 38 deletions(-)
Property changes on: i8kmon/repos/extra-i686
___________________________________________________________________
Name: svnmerge-integrated
- /i8kmon/trunk:1-19014
+ /i8kmon/trunk:1-19034
Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2008-11-14 08:10:55 UTC (rev 19034)
+++ extra-i686/PKGBUILD 2008-11-14 08:11:38 UTC (rev 19035)
@@ -1,6 +1,5 @@
# $Id$
# Contributor: Eric Johnson <eric at coding-zone.com>
-# Contributor: eric <eric at archlinux.org>
# Maintainer: Thayer Williams <thayer at archlinux.org>
pkgname=i8kmon
Deleted: extra-i686/i8kmon
===================================================================
--- extra-i686/i8kmon 2008-11-14 08:10:55 UTC (rev 19034)
+++ extra-i686/i8kmon 2008-11-14 08:11:38 UTC (rev 19035)
@@ -1,37 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=`pidof -o %PPID /usr/bin/i8kmon`
-case "$1" in
- start)
- stat_busy "Starting i8kmon Daemon"
- if [ -z "$PID" ]; then
- /usr/bin/i8kmon -d &
- fi
- if [ ! -z "$PID" -o $? -gt 0 ]; then
- stat_fail
- else
- add_daemon i8kmon
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping i8kmon Daemon"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon i8kmon
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
Copied: i8kmon/repos/extra-i686/i8kmon.daemon (from rev 19033, i8kmon/trunk/i8kmon.daemon)
===================================================================
--- extra-i686/i8kmon.daemon (rev 0)
+++ extra-i686/i8kmon.daemon 2008-11-14 08:11:38 UTC (rev 19035)
@@ -0,0 +1,37 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+PID=`pidof -o %PPID /usr/bin/i8kmon`
+case "$1" in
+ start)
+ stat_busy "Starting i8kmon Daemon"
+ if [ -z "$PID" ]; then
+ /usr/bin/i8kmon -d &
+ fi
+ if [ ! -z "$PID" -o $? -gt 0 ]; then
+ stat_fail
+ else
+ add_daemon i8kmon
+ stat_done
+ fi
+ ;;
+ stop)
+ stat_busy "Stopping i8kmon Daemon"
+ [ ! -z "$PID" ] && kill $PID &> /dev/null
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ rm_daemon i8kmon
+ stat_done
+ fi
+ ;;
+ restart)
+ $0 stop
+ sleep 1
+ $0 start
+ ;;
+ *)
+ echo "usage: $0 {start|stop|restart}"
+esac
More information about the arch-commits
mailing list