Talk:HowTo add a PrintServer to the LSPro
From NAS-Central Buffalo - The Linkstation Wiki
Revision as of 19:29, 26 March 2007 by 84.138.121.190 (Talk)
Here's the lprng-enable.sh script, that is part of the lprng-withweb_2.04.tgz:
- ! /bin/bash
-
- lprng-enable.sh #
- #
- This scripts creates the lp0 node, #
- sets the permission, creates the spool #
- directories and changes the permission #
- for /dev/null, as this is restricted #
- #
mknod /dev/usb/lp0 c 180 0 chmod a+w /dev/usb/lp0 mkdir /var/spool/win mkdir /var/spool/tmp mkdir /var/spool/samba chmod 777 /var/spool/* chmod 777 /dev/null

