shithub: riscv

ref: 784a9598880c119d8701db059bae956eacd5db72
dir: /sys/lib/lp/daemon/post/

View raw version
#!/bin/rc

generic '/lib/postscript/bin/$cputype/postio -R2 -B4096 -l$OUTDEV -b$SPEED -L$PRINTLOG $LPDEST/$FILE(1)' '{cat <{echo -d$LPDEST -pnoproc -M$SCHEDLINE(1) -u$SCHEDLINE(2)} $LPDEST/$FILE(1);sleep 5} | lpsend.rc $DEST_HOST' ''