From 1fbf2587333c2f16b4a156e9255539cfbeed618a Mon Sep 17 00:00:00 2001 From: jacomi Date: Mon, 10 Jul 2000 14:27:35 +0000 Subject: initialisation at system startup removed --- debian/changelog | 6 ++++++ debian/conffiles | 2 -- debian/dirs | 2 -- debian/init.d | 39 --------------------------------------- debian/postinst | 24 ------------------------ debian/rules | 14 -------------- src/Makefile | 1 - 7 files changed, 6 insertions(+), 82 deletions(-) delete mode 100644 debian/conffiles delete mode 100755 debian/init.d delete mode 100644 debian/postinst diff --git a/debian/changelog b/debian/changelog index ac832e7..074f49b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +irbox (1.1-2) unstable; urgency=low + + * initialisation at system startup removed. + +- Michelle JACOMI Mon, 10 Jul 2000 16:20:17 +0200 + irbox (1.1-1) unstable; urgency=low * Initial Release. diff --git a/debian/conffiles b/debian/conffiles deleted file mode 100644 index d78fb01..0000000 --- a/debian/conffiles +++ /dev/null @@ -1,2 +0,0 @@ -/etc/init.d/irbox -/etc/irbox.conf diff --git a/debian/dirs b/debian/dirs index c085878..7935c37 100644 --- a/debian/dirs +++ b/debian/dirs @@ -1,4 +1,2 @@ usr/bin -etc -etc/init.d usr/lib/irbox diff --git a/debian/init.d b/debian/init.d deleted file mode 100755 index cfb2341..0000000 --- a/debian/init.d +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/sh -# -# irbox: Starts the irbox Ivy agent -# -# chkconfig: - 98 02 -# description: This is a daemon that drives an Irman infra-red device and \ -# emits its events on an Ivy bus -# processname: irbox -# config: /etc/irbox.conf - - -test -f /usr/bin/irbox || exit 0 - -# See how we were called. -case "$1" in - start) - echo -n "Infra-red Ivy driver... " - start-stop-daemon --start --exec /usr/bin/irbox -- -b 143.196.53,143.196.1:2019 & - echo "." - ;; - stop) - echo -n "Shutting down Infra-red Ivy driver: " - start-stop-daemon --stop --quiet --exec /usr/bin/irbox - echo - ;; - reload) - start-stop-daemon --stop --quiet --signal 1 --exec /usr/bin/irbox - ;; - restart) - start-stop-daemon --stop --quiet --exec /usr/bin/irbox - start-stop-daemon --start --exec /usr/bin/irbox -- -b 143.196.53,143.196.1:2019 & - ;; - *) - echo "*** Usage: irbox {start|stop|restart|reload}" - exit 1 -esac - -exit 0 - diff --git a/debian/postinst b/debian/postinst deleted file mode 100644 index 75176e6..0000000 --- a/debian/postinst +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash - -NC="/etc/irbox.conf" - -TWEAK="no" - -# only do this stuff if we're being called to configure a package -if [ "$1" != "configure" ] -then - exit 0 -fi - -# make sure we have an /etc/irbox.conf -if [ -f $NC ] -then - echo "An /etc/irbox.conf file already exists, and will be used to" - echo "configure irboxd. You may wish to review the contents of this" - echo "file for accuracy." - echo "" -else - start-stop-daemon --stop --quiet --exec /usr/bin/irbox -fi - -#DEBHELPER# diff --git a/debian/rules b/debian/rules index ad200dd..0decef3 100755 --- a/debian/rules +++ b/debian/rules @@ -9,7 +9,6 @@ CVS_TAG := V$(shell echo -n $(VERSION) | sed -n 's/\./_/gp') build: $(checkdir) - cd src && make touch build @@ -28,7 +27,6 @@ binary-indep: checkroot build binary-arch: checkroot build $(checkdir) - $(checkversion) -rm -rf debian/tmp install -d debian/tmp cd debian/tmp && install -d `cat ../dirs` @@ -51,18 +49,6 @@ checkroot: $(checkdir) test root = "`whoami`" -define checkversion - -@if (test -d CVS); then \ - if (cvs status -v debian/changelog | grep --silent $(CVS_TAG)); then \ - echo "cvs tag $(CVS_TAG) matches package version $(VERSION)"; \ - else \ - echo "debian/rules: *** Warning : No cvs tag $(CVS_TAG) matches package version $(VERSION) for file changelog. You can tag your cvs module by doing debian/rules tag"; \ - echo -n "debian/rules: *** Existing tags are : "; \ - cvs status -v debian/changelog | sed -n 's/.*\(V.*_[0-9]\).*/\1/p'; \ - fi \ - fi -endef - tag: -@if (test -x `which cvs`); then cvs tag $(CVS_TAG) .; fi diff --git a/src/Makefile b/src/Makefile index 6a972bc..c8381ed 100644 --- a/src/Makefile +++ b/src/Makefile @@ -51,7 +51,6 @@ clean: install: all test -d $(PREFIX)/usr/bin || mkdirhier $(PREFIX)/usr/bin test -d $(PREFIX)$(IRBOX_DIR) || mkdirhier $(PREFIX)$(IRBOX_DIR) - install -m755 irbox.conf $(PREFIX)/etc/ install -m755 irbox $(PREFIX)/usr/bin for f in `find ../data -type f -maxdepth 1`; do \ install -m 644 $$f $(PREFIX)$(IRBOX_DIR); \ -- cgit v1.1