Adding a manpage. - rfkilld - An rfkill daemon, which runs scripts according to rfkill events.
       
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
 (DIR) commit b37bc7f429c1dd2646c8e383aa4ec3e5c2ec236d
 (DIR) parent 4bb6cf4c22054db6f2165a4353f5e7a2e43d4803
 (HTM) Author: Christoph Lohmann <20h@r-36.net>
       Date:   Wed,  2 May 2012 21:33:29 +0200
       
       Adding a manpage.
       
       Diffstat:
         Makefile                            |       5 +++++
         rfkilld.8                           |      58 ++++++++++++++++++++++++++++++
       
       2 files changed, 63 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/Makefile b/Makefile
       @@ -47,9 +47,14 @@ install: all
                @mkdir -p ${DESTDIR}${PREFIX}/bin
                @cp -f ${NAME} ${DESTDIR}${PREFIX}/bin
                @chmod 755 ${DESTDIR}${PREFIX}/bin/${NAME}
       +        @mkdir -p ${DESTDIR}${MANPREFIX}/man8
       +        @cp -f ${NAME}.8 ${DESTDIR}${MANPREFIX}/man8
       +        @chmod 644 ${DESTDIR}${MANPREFIX}/man8/${NAME}.8
        
        uninstall:
                @echo removing executable file from ${DESTDIR}${PREFIX}/bin
                @rm -f ${DESTDIR}${PREFIX}/bin/${NAME}
       +        @echo removing manual page from ${DESTDIR}${PREFIX}/man8
       +        @rm -f ${DESTDIR}${MANPREFIX}/man8/${NAME}.8
        
        .PHONY: all options clean dist install uninstall
 (DIR) diff --git a/rfkilld.8 b/rfkilld.8
       @@ -0,0 +1,58 @@
       +.Dd May 02, 2012 
       +.Dt RFKILLD 8
       +.Os
       +.
       +.Sh NAME
       +.Nm rfkilld 
       +.Nd a daemon for watching for rfkill events
       +.
       +.Sh SYNOPSIS
       +.Nm
       +.Bk -words
       +.Op Fl h
       +.Op Fl b 
       +.Op Fl d
       +.Op Fl l
       +.Op Fl e Ar etcdir
       +.Ek
       +.
       +.Sh DESCRIPTION
       +.Bd -filled
       +.Nm
       +is a daemon to watch rfkill events. The daemon will call
       +tthe appropriate scripts in etcdir/*.sh when an event
       +appears. The first argument to that script will be the state
       +tthe rfkill switch changed to.
       +.Ed
       +. 
       +.Sh OPTIONS
       +.Nm
       +options and default settings.
       +.Pp
       +.Bl -tag -width ".Fl test Ao Ar string Ac"
       +.
       +.It Fl b
       +Run in background.
       +.
       +.It Fl d 
       +Turn on debug messages. This will not work in conjunction with
       +-b.
       +.
       +.It Fl e Ar etcdir
       +This flag specifies the etcdir, where to run scripts in.
       +(default: /etc/rfkilld)
       +.
       +.It Fl h
       +Show usage.
       +.
       +.It Fl l
       +Turn on logging.
       +.
       +.Sh AUTHORS
       +See LICENSE file for authors in the distribution.
       +.
       +.Sh LICENSE
       +.Nm
       +is released under the MIT/X Consortium License.
       +.
       +