Suggestion for RPM spec files in Samba

Andreas andreas at conectiva.com.br
Mon Jun 9 21:02:34 GMT 2003


On Mon, Jun 09, 2003 at 01:28:45PM +1200, Jason Haar wrote:
> %post
if [ "$1" -eq "1" ]; then
> /sbin/chkconfig --add smb
> /sbin/chkconfig --add winbind
> /sbin/chkconfig smb off
> /sbin/chkconfig winbind off
endif

> IMHO I think those chkconfig's can be removed.

Better to only run them if it's a first time installation. The if-endif
statements I inserted above take care of that.




More information about the samba-technical mailing list