debianmacno-cupsnodebathenaweb
Last change
on this file since c631d1a was
c631d1a,
checked in by Jessica B. Hamrick <jhamrick@…>, 15 years ago
|
Changed 'sipbmp3' to 'gutenbach' by popular demand. Have not checked for errors, yet.
|
-
Property mode set to
100755
|
File size:
402 bytes
|
Line | |
---|
1 | #!/bin/sh -e |
---|
2 | |
---|
3 | # make sure directories exist for checkpc |
---|
4 | echo "Running checkpc..." >&2 |
---|
5 | if [ ! -d /var/spool/lpd ]; then |
---|
6 | mkdir /var/spool/lpd |
---|
7 | mkdir /var/spool/lpd/%P |
---|
8 | else |
---|
9 | if [ ! -d /var/spool/lpd/%P ]; then |
---|
10 | mkdir /var/spool/lpd/%P |
---|
11 | fi |
---|
12 | fi |
---|
13 | chmod og=rwx /var/spool/lpd |
---|
14 | chmod og=rwx /var/spool/lpd/%P |
---|
15 | |
---|
16 | . /usr/share/debconf/confmodule |
---|
17 | db_get gutenbach/printername |
---|
18 | /usr/sbin/checkpc -P"$RET" -f |
---|
Note: See
TracBrowser
for help on using the repository browser.