summary refs log tree commit diff
path: root/etc
diff options
context:
space:
mode:
authorGerrit Pape <pape@smarden.org>2003-06-05 11:39:11 +0000
committerGerrit Pape <pape@smarden.org>2003-06-05 11:39:11 +0000
commitbca5d80102ca893c60a5c5d0906a4cd8816d6a13 (patch)
treebdf658b47b59240839e982e6458b1bbb9e8feb3c /etc
parent75bdbcb65eeece3d85161912c81614eeb7450d31 (diff)
downloadrunit-bca5d80102ca893c60a5c5d0906a4cd8816d6a13.tar.gz
runit-bca5d80102ca893c60a5c5d0906a4cd8816d6a13.tar.xz
runit-bca5d80102ca893c60a5c5d0906a4cd8816d6a13.zip
* svlogd.c: default log file size is 1M; print verbose message only if
    -v is set.
  * man/svlogd.8: document -v option; minor.
  * etc/freebsd/3, etc/openbsd/3: check if magic files in /etc/runit/ are
    executable, not readable.
  * etc/*/getty-tty*/run: remove utmpset from script.
  * etc/*/getty-tty*/finish: new: run utmpset.
  * doc/replaceinit.html: adapt.
  * setuidgid.c: new: daemontools' setuidgid drop in replacement (not
    installed by default).
  * Makefile: build setuidgid.
  * doc/index.html: update.
Diffstat (limited to 'etc')
-rwxr-xr-xetc/debian/getty-tty5/run1
-rwxr-xr-xetc/freebsd/32
-rwxr-xr-xetc/freebsd/getty-ttyv4/run1
-rwxr-xr-xetc/openbsd/32
-rwxr-xr-xetc/openbsd/getty-ttyC4/run1
5 files changed, 2 insertions, 5 deletions
diff --git a/etc/debian/getty-tty5/run b/etc/debian/getty-tty5/run
index 4abe2d3..6767eae 100755
--- a/etc/debian/getty-tty5/run
+++ b/etc/debian/getty-tty5/run
@@ -1,3 +1,2 @@
 #!/bin/sh
-/command/utmpset -w tty5
 exec /sbin/getty 38400 tty5 linux
diff --git a/etc/freebsd/3 b/etc/freebsd/3
index c1645a9..8e1b40c 100755
--- a/etc/freebsd/3
+++ b/etc/freebsd/3
@@ -7,7 +7,7 @@ echo 'Waiting for services to stop...'
 svwaitdown -xk -t350 /service/*
 
 echo 'Shutdown...'
-if test -r /etc/runit/reboot; then
+if test -x /etc/runit/reboot; then
   exec reboot
 else
   exec halt
diff --git a/etc/freebsd/getty-ttyv4/run b/etc/freebsd/getty-ttyv4/run
index c82bf33..2d5e3dc 100755
--- a/etc/freebsd/getty-ttyv4/run
+++ b/etc/freebsd/getty-ttyv4/run
@@ -1,3 +1,2 @@
 #!/bin/sh
-/command/utmpset -w ttyv4
 exec /usr/libexec/getty Pc ttyv4
diff --git a/etc/openbsd/3 b/etc/openbsd/3
index 7174f2a..d8c4f61 100755
--- a/etc/openbsd/3
+++ b/etc/openbsd/3
@@ -10,7 +10,7 @@ echo 'Waiting for services to stop...'
 svwaitdown -xk -t350 /service/*
 
 echo 'Shutdown...'
-if test -r /etc/runit/reboot; then
+if test -x /etc/runit/reboot; then
   exec reboot
 else
   exec halt
diff --git a/etc/openbsd/getty-ttyC4/run b/etc/openbsd/getty-ttyC4/run
index 6acb0b3..c1d9cb9 100755
--- a/etc/openbsd/getty-ttyC4/run
+++ b/etc/openbsd/getty-ttyC4/run
@@ -1,3 +1,2 @@
 #!/bin/sh
-/command/utmpset -w ttyC4
 exec /usr/libexec/getty Pc ttyC4