diff options
author | Gerrit Pape <pape@smarden.org> | 2002-08-28 13:10:06 +0000 |
---|---|---|
committer | Gerrit Pape <pape@smarden.org> | 2002-08-28 13:10:06 +0000 |
commit | 2feb3787af76c8098f3f0b009b9522c97d52026b (patch) | |
tree | b9afda00c119382a1d32ad5a36b54ac7037fa280 /etc | |
parent | a148a393ee2453b4d7d358715e7ea6a426043cb9 (diff) | |
download | runit-2feb3787af76c8098f3f0b009b9522c97d52026b.tar.gz runit-2feb3787af76c8098f3f0b009b9522c97d52026b.tar.xz runit-2feb3787af76c8098f3f0b009b9522c97d52026b.zip |
* utmpset: avoids libutil; compiles with deitlibc; built by default.
* doc/usedietlibc.html: fix description. * stage 3: restart getties after stopping services. * getty-*/run: add utmpset. 0.5.0.
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/debian/3 | 3 | ||||
-rwxr-xr-x | etc/debian/getty-tty5/run | 1 | ||||
-rwxr-xr-x | etc/freebsd/3 | 3 | ||||
-rwxr-xr-x | etc/freebsd/getty-ttyv4/run | 1 | ||||
-rwxr-xr-x | etc/openbsd/3 | 3 | ||||
-rwxr-xr-x | etc/openbsd/getty-ttyC4/run | 1 |
6 files changed, 12 insertions, 0 deletions
diff --git a/etc/debian/3 b/etc/debian/3 index 83512a2..bd0d383 100755 --- a/etc/debian/3 +++ b/etc/debian/3 @@ -13,6 +13,9 @@ echo 'Stopping services...' /command/svwaitdown -t350 /service/* || \ ( echo 'Killing services...' ; /command/svc -k /service/* ) +echo 'Restarting getties...' +/command/svc -u /service/getty-* + echo 'Stopping log services...' /command/svc -d /service/*/log /command/svwaitdown -t35 /service/*/log diff --git a/etc/debian/getty-tty5/run b/etc/debian/getty-tty5/run index 6767eae..db2e558 100755 --- a/etc/debian/getty-tty5/run +++ b/etc/debian/getty-tty5/run @@ -1,2 +1,3 @@ #!/bin/sh +/package/admin/runit/command/utmpset -w tty5 exec /sbin/getty 38400 tty5 linux diff --git a/etc/freebsd/3 b/etc/freebsd/3 index d2514c4..ae62bd5 100755 --- a/etc/freebsd/3 +++ b/etc/freebsd/3 @@ -6,6 +6,9 @@ svc -d /service/* svwaitdown -t350 /service/* || ( echo 'Killing services...' ; \ svc -k /service/* ; svwaitdown /service/* ) +echo 'Restarting getties...' +/command/svc -u /service/getty-* + echo 'Stopping log services...' svc -d /service/*/log svwaitdown -t35 /service/*/log || ( echo 'Killing log services...' ; \ diff --git a/etc/freebsd/getty-ttyv4/run b/etc/freebsd/getty-ttyv4/run index 2d5e3dc..6df5b17 100755 --- a/etc/freebsd/getty-ttyv4/run +++ b/etc/freebsd/getty-ttyv4/run @@ -1,2 +1,3 @@ #!/bin/sh +/package/admin/runit/command/utmpset -w ttyv4 exec /usr/libexec/getty Pc ttyv4 diff --git a/etc/openbsd/3 b/etc/openbsd/3 index 192c6d8..e2c09c7 100755 --- a/etc/openbsd/3 +++ b/etc/openbsd/3 @@ -11,6 +11,9 @@ svc -d /service/* svwaitdown -t350 /service/* || ( echo 'Killing services...' ; \ svc -k /service/* ; svwaitdown /service/* ) +echo 'Restarting getties...' +/command/svc -u /service/getty-* + echo 'Stopping log services...' svc -d /service/*/log svwaitdown -t35 /service/*/log || ( echo 'Killing log services...' ; \ diff --git a/etc/openbsd/getty-ttyC4/run b/etc/openbsd/getty-ttyC4/run index c1d9cb9..66f4677 100755 --- a/etc/openbsd/getty-ttyC4/run +++ b/etc/openbsd/getty-ttyC4/run @@ -1,2 +1,3 @@ #!/bin/sh +/package/admin/runit/command/utmpset -w ttyC4 exec /usr/libexec/getty Pc ttyC4 |