ports/main/nnd-s6-services/rc/core/module.dm-mod/down

13 lines
169 B
Plaintext
Raw Normal View History

2022-09-24 19:06:39 +00:00
#!/bin/execlineb -P
s6-envdir -i /etc/s6/env/core/path
importas -i PATH PATH
emptyenv
export PATH $PATH
define MODULE dm-mod
fdclose 1
fdclose 2
exec rmmod ${MODULE}