#NEWLINE# def disable( name , **kwargs ) : #NEWLINE# #INDENT# "\n    Disable the named service to start at boot\n\n    CLI Example:\n\n    .. code-block:: bash\n\n        salt '*' service.disable <service name>\n    " #NEWLINE# osmajor = _osrel ( ) [ 0 ] #NEWLINE# if ( osmajor < '6' ) : #NEWLINE# #INDENT# cmd = 'update-rc.d -f {0} remove' . format ( name ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# cmd = 'update-rc.d {0} disable' . format ( name ) #NEWLINE# #UNINDENT# return ( not __salt__ [ 'cmd.retcode' ] ( cmd ) )