auto running function init

Signed-off-by: wangjun <junx.j.wang@intel.com>