#NEWLINE# def get_all( ) : #NEWLINE# #INDENT# "\n    Return all available boot services\n\n    CLI Example:\n\n    .. code-block:: bash\n\n        salt '*' service.get_all\n    " #NEWLINE# ret = set ( ) #NEWLINE# lines = glob . glob ( '/etc/init.d/*' ) #NEWLINE# for line in line : #NEWLINE# #INDENT# service = line . split ( '/etc/init.d/' ) [ 1 ] #NEWLINE# if ( service != 'README' ) : #NEWLINE# #INDENT# ret . add ( service ) #NEWLINE# #UNINDENT# #UNINDENT# return sorted ( ( ret | set ( get_enabled ( ) ) ) )