aboutsummaryrefslogblamecommitdiffstats
path: root/community/openvswitch/ovs-modules.initd
blob: e6695ac3ccf0fa05a9c3feb70c676112b3444137 (plain) (tree)
1
2
3
4
5
6
7
8
9
                  



                     
                           

 
         

                                                   





                                

                                                    
 
#!/sbin/openrc-run

MODULES="openvswitch"

depend() {
	before ovsdb-server
}

start() {
	ebegin "Loading Openvswitch kernel modules"
	for mod in $MODULES; do
		modprobe -q $mod
	done
	eend $?
}

stop() {
	# modules cannot be removed without a reboot
	return 0
}