#NEWLINE# def _sysv_disable( name ) : #NEWLINE# #INDENT# '\n    Disable the named sysv service from starting at boot.  The service will be\n    disabled using chkconfig with default run-levels if the service is chkconfig\n    compatible; otherwise, the service will be disabled for the current\n    run-level only.\n    ' #NEWLINE# if ( ( not _service_is_chkconfig ( cmd ) ) and ( not _chkconfig_add ( name ) ) ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# cmd = '/sbin/chkconfig {0} off' . format ( name ) #NEWLINE# return ( not __salt__ [ 'cmd.retcode' ] ( cmd , python_shell = False ) )