blob: 9f02fab4bcd32e2da9249939caeb1c2695a3644f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/sbin/openrc-run
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
command="/usr/sbin/netatopd"
procname="netatopd"
depend() {
before atop atopacct
}
start_pre() {
modprobe netatop > /dev/null 2>&1
}
stop_post() {
rmmod netatop > /dev/null 2>&1
}
|