summary refs log tree commit diff
path: root/etc/freebsd
diff options
context:
space:
mode:
authorGerrit Pape <pape@smarden.org>2002-09-23 10:14:47 +0000
committerGerrit Pape <pape@smarden.org>2002-09-23 10:14:47 +0000
commit6c547431bdf02e4514bbf74c31e1f599e5e4bdcc (patch)
treeb646a8df45b656f9caf8cf2c082a36b4b7780b82 /etc/freebsd
parent7aef323f749e96b290afde337762f7cafff17c41 (diff)
downloadrunit-6c547431bdf02e4514bbf74c31e1f599e5e4bdcc.tar.gz
runit-6c547431bdf02e4514bbf74c31e1f599e5e4bdcc.tar.xz
runit-6c547431bdf02e4514bbf74c31e1f599e5e4bdcc.zip
stage 2 adapt.
Diffstat (limited to 'etc/freebsd')
-rwxr-xr-xetc/freebsd/212
1 files changed, 11 insertions, 1 deletions
diff --git a/etc/freebsd/2 b/etc/freebsd/2
index 9966e42..04c63d2 100755
--- a/etc/freebsd/2
+++ b/etc/freebsd/2
@@ -1,2 +1,12 @@
 #!/bin/sh
-exec /command/svscanboot
+
+PATH=/command:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
+
+exec </dev/null
+exec >/dev/null
+exec 2>/dev/null
+
+/command/svc -x /service/*
+
+exec env - PATH=$PATH \
+runsvdir /service log:_...........................................................................................................................................................................................................................................................................................................................................................................................................