Magellan Linux

Diff of /alx-src/branches/alxconf-060/functions/config_printers.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 241 by niro, Tue Apr 12 20:54:19 2005 UTC revision 244 by niro, Tue Apr 12 21:39:24 2005 UTC
# Line 1  Line 1 
1  # $Header: /home/cvsd/alx-cvs/alx-src/alxconfig-ng/functions/config_printers.sh,v 1.6 2005-04-12 20:54:13 niro Exp $  # $Header: /home/cvsd/alx-cvs/alx-src/alxconfig-ng/functions/config_printers.sh,v 1.7 2005-04-12 21:39:24 niro Exp $
2  # configures printing on the host via mysql db settings  # configures printing on the host via mysql db settings
3    
4  get_printer_settings()  get_printer_settings()
# Line 151  config_printing() Line 151  config_printing()
151   echo "KLimit 0" >> /etc/cups/printers.conf   echo "KLimit 0" >> /etc/cups/printers.conf
152   echo "</Printer>" >> /etc/cups/printers.conf   echo "</Printer>" >> /etc/cups/printers.conf
153   done   done
154    
155     # start samba and cups if ALX_COUNT > 0
156     if [[ ${ALX_COUNT} != 0 ]]
157     then
158    # echo "DEBUG: adding samba+cups"
159     rc-config add cups &> /dev/null
160     rc-config add samba &> /dev/null
161     else
162    # echo "DEBUG: deleting samba+cups"
163     rc-config del cups &> /dev/null
164     rc-config del samba &> /dev/null
165     fi
166  }  }

Legend:
Removed from v.241  
changed lines
  Added in v.244