commit 276681ad244077710dfab1bcaf7195e293008d50
parent ac2b4befcf74e4e3ccdd9633c72770ce221a4090
Author: Gerrit Pape <pape@smarden.org>
Date: Thu, 7 Nov 2002 18:36:03 +0000
* debian/rules: install debian specific stage 3: fix path to service
directory.
* debian/3: new.
-4.
Diffstat:
3 files changed, 26 insertions(+), 6 deletions(-)
diff --git a/debian/3 b/debian/3
@@ -0,0 +1,16 @@
+#!/bin/sh
+exec 2>&1
+
+PATH=/sbin:/bin:/usr/sbin:/usr/bin
+
+LAST=0
+test -r /etc/runit/reboot && LAST=6
+
+echo 'Waiting for getties to stop...'
+svwaitdown -xk -t14 /var/service/getty-*
+
+echo 'Waiting for services to stop...'
+svwaitdown -xk -t350 /var/service/*
+
+echo 'Shutdown...'
+/etc/init.d/rc $LAST
diff --git a/debian/changelog b/debian/changelog
@@ -1,3 +1,11 @@
+runit (0.7.1-4) unstable; urgency=low
+
+ * debian/rules: install debian specific stage 3: fix path to service
+ directory.
+ * debian/3: new.
+
+ -- Gerrit Pape <pape@smarden.org> Thu, 7 Nov 2002 18:33:52 +0100
+
runit (0.7.1-3) unstable; urgency=low
* debian/control: build-depends on dietlibc >= 0.21-3 (fixes build
diff --git a/debian/rules b/debian/rules
@@ -95,16 +95,12 @@ install: build
install -m0755 admin/runit-0.7.1/src/runsvctrl \
$(CURDIR)/debian/runit/usr/bin/runsvctrl
-# install -m0700 admin/runit/etc/debian/1 \
-# $(CURDIR)/debian/runit/etc/runit/1
install -m0700 debian/1 \
$(CURDIR)/debian/runit/etc/runit/1
install -m0700 debian/2 \
$(CURDIR)/debian/runit/etc/runit/2
- chmod 0700 $(CURDIR)/debian/runit/etc/runit/2
- sed -e 's}^PATH=.*}PATH=/sbin:/bin:/usr/sbin:/usr/bin}g' \
- <admin/runit/etc/debian/3 >$(CURDIR)/debian/runit/etc/runit/3
- chmod 0700 $(CURDIR)/debian/runit/etc/runit/3
+ install -m0700 debian/3 \
+ $(CURDIR)/debian/runit/etc/runit/3
install -m0700 admin/runit/etc/debian/ctrlaltdel \
$(CURDIR)/debian/runit/etc/runit/ctrlaltdel
install -m0755 debian/getty-tty5.run \