#!/bin/sh

### BEGIN INIT INFO
# Provides:		  tizen-vhost-net
# Required-Start:	$local_fs $syslog
# Required-Stop:	 $local_fs $syslog
# Should-Start:	  udev
# Should-Stop:	   udev
# Default-Start:	 2 3 4 5
# Default-Stop:	  1
# Short-Description: modprobe vhost-net module.
# Description:	   enable vhost-net module to enable virtio device emulation
### END INIT INFO

do_start () {
	modprobe vhost-net
}

case "$1" in
  start)
	do_start
	;;
  restart|reload|force-reload)
	# No-op
	;;
  stop)
	# No-op
	;;
  *)
	echo "Usage: $0 start|stop" >&2
	exit 3
	;;
esac
