debianmacno-cupsweb
Last change
on this file since 30beeab was
30beeab,
checked in by Jessica B. Hamrick <jhamrick@…>, 14 years ago
|
Remove "gutenbach-" from directory names and rename "gutenbach" to "gutenbach-server"
|
-
Property mode set to
100755
|
File size:
350 bytes
|
Rev | Line | |
---|
[c503858] | 1 | #!/bin/sh |
---|
| 2 | |
---|
| 3 | if [ -e /usr/lib/gutenbach/config/printername ]; then |
---|
| 4 | printername="$(cat /usr/lib/gutenbach/config/printername)" |
---|
[b30ec0c] | 5 | echo "Adding new printer $printername..." |
---|
[c503858] | 6 | |
---|
[b30ec0c] | 7 | lpadmin -p "$printername" -E -v gutenbach:/dev/null -D "Gutenbach Music Spooler" |
---|
[c503858] | 8 | |
---|
| 9 | else |
---|
| 10 | echo "Error: /usr/lib/gutenbach/config/printername does not exist" |
---|
| 11 | exit 1 |
---|
| 12 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.