def init(state):
    cmd = ['shutdown', '-i', state, '-g', '0', '-y']
    ret = __salt__['cmd.run'](cmd, python_shell=False)
    return ret
Change the system runlevel on sysV compatible systems
dataset/ETHPy150Open saltstack/salt/salt/modules/solaris_system.py/init