diff options
author | Jeremy Allison <jra@samba.org> | 1997-09-05 02:28:41 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1997-09-05 02:28:41 +0000 |
commit | d6fc4eb405d83c3a54e47857758886adf417f2f6 (patch) | |
tree | 89494c35544fd363ca79369e69826b232f009425 /packaging/SGI/mkprintcap.sh | |
parent | ab68ac375ee5c175366123617887a725498efddc (diff) | |
download | samba-d6fc4eb405d83c3a54e47857758886adf417f2f6.tar.gz samba-d6fc4eb405d83c3a54e47857758886adf417f2f6.tar.bz2 samba-d6fc4eb405d83c3a54e47857758886adf417f2f6.zip |
This is really Herb adding the SGI packaging files.
(This used to be commit 8fde65239d0a9462fb044670220cd3c63bd887cb)
Diffstat (limited to 'packaging/SGI/mkprintcap.sh')
-rwxr-xr-x | packaging/SGI/mkprintcap.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/packaging/SGI/mkprintcap.sh b/packaging/SGI/mkprintcap.sh new file mode 100755 index 0000000000..f610e757f0 --- /dev/null +++ b/packaging/SGI/mkprintcap.sh @@ -0,0 +1,15 @@ +#! /bin/sh +# +# create printcap file +# +if [ -r /usr/samba/printcap ] +then + cp /usr/samba/printcap /usr/samba/printcap.O +fi + +echo "#" > /usr/samba/printcap +echo "# Samba printcap file" >> /usr/samba/printcap +echo "# Alias names are separated by |, any name with spaces is taken as a comment" >> /usr/samba/printcap +echo "#" >> /usr/samba/printcap +lpstat -a | sed -e "s/ .*//" >> /usr/samba/printcap + |