#NEWLINE# def _get_rcscript( name ) : #NEWLINE# #INDENT# '\n    Return full path to service rc script\n    ' #NEWLINE# cmd = '{0} -r' . format ( _cmd ( ) ) #NEWLINE# for line in __salt__ [ 'cmd.run_stdout' ] ( cmd , python_shell = False ) . splitlines ( ) : #NEWLINE# #INDENT# if line . endswith ( '{0}{1}' . format ( os . path . sep , name ) ) : #NEWLINE# #INDENT# return line #NEWLINE# #UNINDENT# #UNINDENT# return None