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)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Here's the lprng-enable.sh script, that is part of the lprng-withweb_2.04.tgz:

  1. ! /bin/bash
  2. lprng-enable.sh #
  3. #
  4. This scripts creates the lp0 node, #
  5. sets the permission, creates the spool #
  6. directories and changes the permission #
  7. for /dev/null, as this is restricted #
  8. #

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