update patches

This commit is contained in:
Mario Fetka
2011-11-14 19:58:21 +01:00
parent 53086a5b03
commit be2d60525a
18 changed files with 183 additions and 64 deletions

BIN
opt/nw.ini.cnv.pl.852-iso2 Normal file

Binary file not shown.

BIN
opt/nw.ini.cnv.pl.852-none Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

11
opt/nwserv.logrotate Normal file
View File

@@ -0,0 +1,11 @@
/var/log/nw.log {
postrotate
/bin/killall -HUP nwserv
endrotate
}
/var/log/nw.routes {
postrotate
/bin/killall -HUP nwserv
endrotate
}

19
opt/prn Executable file
View File

@@ -0,0 +1,19 @@
#!/bin/sh
# print using lpr nad lp printer when writing
# return spool and printer status when reading
#
PRINTER=lp
case "$1" in
WRITE)
/usr/bin/lpr -P $PRINTER -
;;
READ)
CR=`echo -n -e '\r'`
/usr/sbin/lpc status $PRINTER | sed "s/$/$CR/g"
/usr/bin/lpq -l -P $PRINTER | sed "s/$/$CR/g"
;;
*)
;;
esac

7
opt/prn-clr Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/sh
# clear print spool
#
PRINTER=lp
/usr/bin/lprm -P $PRINTER -

2
opt/uptime Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/sh
[ "$1" = READ ] && echo -e "`uptime`\r"