[Glibc-bsd-commits] r3304 - trunk/freebsd-moused/debian
Guillem Jover
guillem at alioth.debian.org
Wed May 25 06:04:56 UTC 2011
Author: guillem
Date: 2011-05-25 06:04:56 +0000 (Wed, 25 May 2011)
New Revision: 3304
Added:
trunk/freebsd-moused/debian/init
Removed:
trunk/freebsd-moused/debian/init.d
Modified:
trunk/freebsd-moused/debian/changelog
Log:
Rename debian/init.d to debian/init
Modified: trunk/freebsd-moused/debian/changelog
===================================================================
--- trunk/freebsd-moused/debian/changelog 2011-05-24 14:45:34 UTC (rev 3303)
+++ trunk/freebsd-moused/debian/changelog 2011-05-25 06:04:56 UTC (rev 3304)
@@ -1,3 +1,9 @@
+freebsd-moused (5.3-2) UNRELEASED; urgency=low
+
+ * Rename debian/init.d to debian/init.
+
+ -- Guillem Jover <guillem at debian.org> Thu, 30 Apr 2009 20:57:46 +0200
+
freebsd-moused (5.3-1) unreleased; urgency=low
* New upstream release.
Copied: trunk/freebsd-moused/debian/init (from rev 2480, trunk/freebsd-moused/debian/init.d)
===================================================================
--- trunk/freebsd-moused/debian/init (rev 0)
+++ trunk/freebsd-moused/debian/init 2011-05-25 06:04:56 UTC (rev 3304)
@@ -0,0 +1,72 @@
+#! /bin/sh
+#
+# skeleton example file to build /etc/init.d/ scripts.
+# This file should be used to construct scripts for /etc/init.d.
+#
+# Written by Miquel van Smoorenburg <miquels at cistron.nl>.
+# Modified for Debian
+# by Ian Murdock <imurdock at gnu.ai.mit.edu>.
+#
+# Version: @(#)skeleton 1.9 26-Feb-2001 miquels at cistron.nl
+#
+
+PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+DAEMON=/usr/sbin/moused
+NAME=moused
+DESC="FreeBSD mouse daemon"
+
+test -x $DAEMON || exit 0
+
+if [ -f /etc/moused.conf ] ; then
+ . /etc/moused.conf
+fi
+
+if test -z "${mouse_device}" ; then
+ echo WARNING: mouse device unconfigured.
+else
+ DAEMON_OPTS="$DAEMON_OPTS -p ${mouse_device}"
+fi
+if test -n "${mouse_type}" ; then
+ DAEMON_OPTS="$DAEMON_OPTS -t ${mouse_type}"
+fi
+
+set -e
+
+case "$1" in
+ start)
+ if test -z "${mouse_device}" ; then exit 1 ; fi
+ echo -n "Starting $DESC: "
+ start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \
+ --exec $DAEMON -- $DAEMON_OPTS
+ echo "$NAME."
+ ;;
+ stop)
+ echo -n "Stopping $DESC: "
+ start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \
+ --exec $DAEMON
+ echo "$NAME."
+ ;;
+ restart|force-reload)
+ #
+ # If the "reload" option is implemented, move the "force-reload"
+ # option to the "reload" entry above. If not, "force-reload" is
+ # just the same as "restart".
+ #
+ if test -z "${mouse_device}" ; then exit 1 ; fi
+ echo -n "Restarting $DESC: "
+ start-stop-daemon --stop --quiet --pidfile \
+ /var/run/$NAME.pid --exec $DAEMON
+ sleep 1
+ start-stop-daemon --start --quiet --pidfile \
+ /var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS
+ echo "$NAME."
+ ;;
+ *)
+ N=/etc/init.d/$NAME
+ # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
+ echo "Usage: $N {start|stop|restart|force-reload}" >&2
+ exit 1
+ ;;
+esac
+
+exit 0
Deleted: trunk/freebsd-moused/debian/init.d
===================================================================
--- trunk/freebsd-moused/debian/init.d 2011-05-24 14:45:34 UTC (rev 3303)
+++ trunk/freebsd-moused/debian/init.d 2011-05-25 06:04:56 UTC (rev 3304)
@@ -1,72 +0,0 @@
-#! /bin/sh
-#
-# skeleton example file to build /etc/init.d/ scripts.
-# This file should be used to construct scripts for /etc/init.d.
-#
-# Written by Miquel van Smoorenburg <miquels at cistron.nl>.
-# Modified for Debian
-# by Ian Murdock <imurdock at gnu.ai.mit.edu>.
-#
-# Version: @(#)skeleton 1.9 26-Feb-2001 miquels at cistron.nl
-#
-
-PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
-DAEMON=/usr/sbin/moused
-NAME=moused
-DESC="FreeBSD mouse daemon"
-
-test -x $DAEMON || exit 0
-
-if [ -f /etc/moused.conf ] ; then
- . /etc/moused.conf
-fi
-
-if test -z "${mouse_device}" ; then
- echo WARNING: mouse device unconfigured.
-else
- DAEMON_OPTS="$DAEMON_OPTS -p ${mouse_device}"
-fi
-if test -n "${mouse_type}" ; then
- DAEMON_OPTS="$DAEMON_OPTS -t ${mouse_type}"
-fi
-
-set -e
-
-case "$1" in
- start)
- if test -z "${mouse_device}" ; then exit 1 ; fi
- echo -n "Starting $DESC: "
- start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \
- --exec $DAEMON -- $DAEMON_OPTS
- echo "$NAME."
- ;;
- stop)
- echo -n "Stopping $DESC: "
- start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \
- --exec $DAEMON
- echo "$NAME."
- ;;
- restart|force-reload)
- #
- # If the "reload" option is implemented, move the "force-reload"
- # option to the "reload" entry above. If not, "force-reload" is
- # just the same as "restart".
- #
- if test -z "${mouse_device}" ; then exit 1 ; fi
- echo -n "Restarting $DESC: "
- start-stop-daemon --stop --quiet --pidfile \
- /var/run/$NAME.pid --exec $DAEMON
- sleep 1
- start-stop-daemon --start --quiet --pidfile \
- /var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS
- echo "$NAME."
- ;;
- *)
- N=/etc/init.d/$NAME
- # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
- echo "Usage: $N {start|stop|restart|force-reload}" >&2
- exit 1
- ;;
-esac
-
-exit 0
More information about the Glibc-bsd-commits
mailing list