r1122: As spotted by lha@stacken.kth.se we don't actually use this variable any more.
[Samba.git] / packaging / SGI / mkprintcap.sh
blobf610e757f0630504548e5a2c09266cbe3bbce31f
1 #! /bin/sh
3 # create printcap file
5 if [ -r /usr/samba/printcap ]
6 then
7 cp /usr/samba/printcap /usr/samba/printcap.O
8 fi
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