ngetty: add conf_files; use service/conf if available.
This commit is contained in:
parent
1980172689
commit
a664ca42f7
2 changed files with 4 additions and 2 deletions
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
export TERM=linux
|
||||
exec ngetty tty1 tty2 tty3 tty4 tty5 tty6
|
||||
[ -r conf ] && . conf
|
||||
exec ngetty ${OPTS:=tty1 tty2 tty3 tty4 tty5 tty6}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'ngetty'
|
||||
pkgname=ngetty
|
||||
version=1.1
|
||||
revision=2
|
||||
revision=3
|
||||
short_desc="Daemon for virtual console terminals"
|
||||
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||
license="GPL-2"
|
||||
|
@ -10,6 +10,7 @@ distfiles="http://riemann.fmi.uni-sofia.bg/ngetty/${pkgname}-${version}.tar.gz"
|
|||
checksum=15a0649b552aa47eeb80c7cc57ec6f562a89e271b14386838fbdb90244c546b0
|
||||
|
||||
build_options="static"
|
||||
conf_files="/etc/ngetty/Conf"
|
||||
|
||||
do_build() {
|
||||
make CC="${BUILD_CC}" CFLAGS="${BUILD_CFLAGS}" LDFLAGS="${BUILD_LDFLAGS}" opts_defs.h
|
||||
|
|
Loading…
Reference in a new issue