Last change
on this file since 1036 was 414, checked in by Herwig Bauernfeind, 16 years ago |
Samba 3.5.0: Initial import
|
File size:
399 bytes
|
Line | |
---|
1 | #! /bin/sh
|
---|
2 | #
|
---|
3 | # create printcap file
|
---|
4 | #
|
---|
5 | if [ -r /usr/samba/printcap ]
|
---|
6 | then
|
---|
7 | cp /usr/samba/printcap /usr/samba/printcap.O
|
---|
8 | fi
|
---|
9 |
|
---|
10 | echo "#" > /usr/samba/printcap
|
---|
11 | echo "# Samba printcap file" >> /usr/samba/printcap
|
---|
12 | echo "# Alias names are separated by |, any name with spaces is taken as a comment" >> /usr/samba/printcap
|
---|
13 | echo "#" >> /usr/samba/printcap
|
---|
14 | lpstat -a | sed -e "s/ .*//" >> /usr/samba/printcap
|
---|
15 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.