mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 12:15:32 +03:00
20 lines
262 B
Text
20 lines
262 B
Text
#!/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
|
|
}
|