]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/commitdiff
initscripts: Add manpage for securetty.
authorStefan Schantl <stefan.schantl@ipfire.org>
Mon, 13 Jun 2011 16:20:16 +0000 (18:20 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Mon, 13 Jun 2011 16:20:16 +0000 (18:20 +0200)
Fixes #203

pkgs/initscripts/initscripts.nm
pkgs/initscripts/src/Makefile
pkgs/initscripts/src/securetty.8 [new file with mode: 0644]

index 6fef2055a3b4f32d567e266c68666e6161e76287..4830e766e7bd9fb25947c87253b8d684caa91cb1 100644 (file)
@@ -27,7 +27,7 @@ include $(PKGROOT)/Include
 PKG_NAME       = initscripts
 PKG_EPOCH      = 1
 PKG_VER        = 2.99
-PKG_REL        = 4
+PKG_REL        = 5
 
 PKG_MAINTAINER =
 PKG_GROUPS     = Base System/Boot
index bb486faa33de9cd038fdbe3364bc887718061bca..92fc67057af6e03ac32291be386c7704b634cabe 100644 (file)
@@ -22,7 +22,9 @@ install: $(PROGS)
 
        # Install man pages
        -mkdir -pv $(DESTDIR)/usr/share/man/man1
+       -mkdir -pv $(DESTDIR)/usr/share/man/man8
        install -v -m 644 ipcalc.1 $(DESTDIR)/usr/share/man/man1
+       install -v -m 644 securetty.8 $(DESTDIR)/usr/share/man/man8
 
 console_check: console_check.o
        $(CC) $(LDFLAGS) -o $@ $<
diff --git a/pkgs/initscripts/src/securetty.8 b/pkgs/initscripts/src/securetty.8
new file mode 100644 (file)
index 0000000..2aad6bc
--- /dev/null
@@ -0,0 +1,15 @@
+.\" Copyright 2009 Petr Lautrbach (plautrba@redhat.com)
+.TH securetty 8  2009-10-27 "" "System Administration tools and Daemons"
+.SH NAME
+securetty \- add a tty to /etc/securetty
+.SH SYNOPSIS
+.B securetty \fItty\fP
+.SH DESCRIPTION
+.B securetty
+safely adds \fItty\fP to /etc/securetty.
+.SH NOTES
+.B securetty
+is not normally meant to be run by hand; it is invoked by the upstart job that
+sets up the system serial console.
+.SH "SEE ALSO"
+.BR securetty(5)