p910nd fixes:
* move DESCRIPTION to a separate macro * add conffiles back * indent initscript and config file * supply reasonable default config values git-svn-id: svn://svn.openwrt.org/openwrt/packages@8597 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
fd171424b1
commit
50d1b76d54
@ -22,17 +22,23 @@ define Package/p910nd
|
|||||||
SECTION:=net
|
SECTION:=net
|
||||||
CATEGORY:=Network
|
CATEGORY:=Network
|
||||||
TITLE:=A small non-spooling printer server
|
TITLE:=A small non-spooling printer server
|
||||||
DESCRIPTION:=\
|
|
||||||
p910nd is a small daemon that copies any data received on \\\
|
|
||||||
the port it is listening on to the corresponding printer \\\
|
|
||||||
port. It is primarily intended for diskless Linux hosts \\\
|
|
||||||
running as printer drivers but there is no reason why it \\\
|
|
||||||
could not be used on diskful hosts. Port 9100 is copied \\\
|
|
||||||
to /dev/lp0, 9101 to /dev/lp1 and 9102 to /dev/lp2. The \\\
|
|
||||||
default is port 9100 to /dev/lp0.
|
|
||||||
URL:=http://www.etherboot.org/p910nd/
|
URL:=http://www.etherboot.org/p910nd/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/p910nd/conffiles
|
||||||
|
/etc/config/p910nd
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/p910nd/description
|
||||||
|
p910nd is a small daemon that copies any data received on
|
||||||
|
the port it is listening on to the corresponding printer
|
||||||
|
port. It is primarily intended for diskless Linux hosts
|
||||||
|
running as printer drivers but there is no reason why it
|
||||||
|
could not be used on diskful hosts. Port 9100 is copied
|
||||||
|
to /dev/lp0, 9101 to /dev/lp1 and 9102 to /dev/lp2. The
|
||||||
|
default is port 9100 to /dev/lp0.
|
||||||
|
endef
|
||||||
|
|
||||||
MAKE_FLAGS += \
|
MAKE_FLAGS += \
|
||||||
CFLAGS="$(TARGET_CFLAGS) -DLOCKFILE_DIR=\"\\\"/tmp\"\\\""
|
CFLAGS="$(TARGET_CFLAGS) -DLOCKFILE_DIR=\"\\\"/tmp\"\\\""
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
config p910nd
|
config p910nd
|
||||||
option portnumber
|
option device "/dev/usb/lp0"
|
||||||
option device
|
option port 0
|
||||||
option bidirectional
|
option bidirectional 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user