runit

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 4210d2a209d6d271d77976f0a9a5874100460b55
parent 9e197a1075aa76e75164d9b819d64e0ad0633b58
Author: Gerrit Pape <pape@smarden.org>
Date:   Wed, 28 Aug 2002 18:55:45 +0000

utmpset in /command. registration requested.

Diffstat:
Mdebian/rules | 6+-----
Metc/debian/getty-tty5/run | 2+-
Detc/debian/getty-tty5/run.utmpset | 3---
Metc/freebsd/getty-ttyv4/run | 2+-
Metc/openbsd/getty-ttyC4/run | 2+-
Mman/utmpset.8 | 2+-
Mpackage/commands | 1+
Mpackage/compile | 2+-
8 files changed, 7 insertions(+), 13 deletions(-)

diff --git a/debian/rules b/debian/rules @@ -29,13 +29,9 @@ build-stamp: echo 'diet gcc -O2 -Wall' > src/conf-cc ; \ echo 'diet gcc -s -Os -pipe' > src/conf-ld ; \ package/compile ; \ - echo 'gcc -O2 -Wall' > src/conf-cc ; \ - echo 'gcc -s' > src/conf-ld ; \ - ( cd compile ; make utmpset ) ; \ echo "/package/admin/runit-0.5.0" > compile/home ; \ rm -f compile/src ; \ ln -s /package/admin/runit-0.5.0/src compile/src ; \ - install -m0755 compile/utmpset command/utmpset ; \ ) touch build-stamp @@ -76,7 +72,7 @@ install: build debian/runit/etc/runit/ cp -p admin/runit-0.5.0/etc/debian/ctrlaltdel \ debian/runit/etc/runit/ - cp -p admin/runit-0.5.0/etc/debian/getty-tty5/run.utmpset \ + cp -p admin/runit-0.5.0/etc/debian/getty-tty5/run \ debian/runit/etc/runit/getty-5/run # runit programs diff --git a/etc/debian/getty-tty5/run b/etc/debian/getty-tty5/run @@ -1,3 +1,3 @@ #!/bin/sh -/package/admin/runit/command/utmpset -w tty5 +/command/utmpset -w tty5 exec /sbin/getty 38400 tty5 linux diff --git a/etc/debian/getty-tty5/run.utmpset b/etc/debian/getty-tty5/run.utmpset @@ -1,3 +0,0 @@ -#!/bin/sh -/package/admin/runit/command/utmpset -w tty5 -exec /sbin/getty 38400 tty5 linux diff --git a/etc/freebsd/getty-ttyv4/run b/etc/freebsd/getty-ttyv4/run @@ -1,3 +1,3 @@ #!/bin/sh -/package/admin/runit/command/utmpset -w ttyv4 +/command/utmpset -w ttyv4 exec /usr/libexec/getty Pc ttyv4 diff --git a/etc/openbsd/getty-ttyC4/run b/etc/openbsd/getty-ttyC4/run @@ -1,3 +1,3 @@ #!/bin/sh -/package/admin/runit/command/utmpset -w ttyC4 +/command/utmpset -w ttyC4 exec /usr/libexec/getty Pc ttyC4 diff --git a/man/utmpset.8 b/man/utmpset.8 @@ -33,7 +33,7 @@ to the run scripts, e.g.: .P #!/bin/sh - /package/admin/runit/command/utmpset -w tty5 + /command/utmpset -w tty5 exec /sbin/getty 38400 tty5 linux .SH OPTIONS .TP diff --git a/package/commands b/package/commands @@ -2,3 +2,4 @@ runit runit-init svwaitdown svwaitup +utmpset diff --git a/package/compile b/package/compile @@ -20,7 +20,7 @@ echo 'Compiling everything in ./compile...' ( cd compile; exec make ) echo 'Copying commands into ./command...' -for i in `cat package/commands` utmpset +for i in `cat package/commands` do rm -f command/$i'{new}' cp -p compile/$i command/$i'{new}'