source: trunk/server/packaging/SGI/mkprintcap.sh@ 1036

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#
5if [ -r /usr/samba/printcap ]
6then
7 cp /usr/samba/printcap /usr/samba/printcap.O
8fi
9
10echo "#" > /usr/samba/printcap
11echo "# Samba printcap file" >> /usr/samba/printcap
12echo "# Alias names are separated by |, any name with spaces is taken as a comment" >> /usr/samba/printcap
13echo "#" >> /usr/samba/printcap
14lpstat -a | sed -e "s/ .*//" >> /usr/samba/printcap
15
Note: See TracBrowser for help on using the repository browser.