def _get_name_of_init(run=utils.run):
 output = run('readlink /proc/1/exe').stdout.strip()
 return os.path.basename(output)

def _get_name_of_init ( run = utils . run ) : output = run ( 'readlink /proc/1/exe' ) . stdout . strip ( ) return os . path . basename ( output )
internal function to determine what executable is pid 1 .