ports/main/nnd-s6-services/rc/module.kvm/down

13 lines
159 B
Plaintext
Raw Normal View History

#!/bin/execlineb -P
s6-envdir -i /etc/s6/env/path
importas -i PATH PATH
emptyenv
export PATH $PATH
define MODULE kvm
fdclose 1
fdclose 2
exec rmmod $MODULE