blob: 2c71ada44870307cd7ff1fda52bd9129cd58fb05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/sbin/runscript
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
extra_started_commands="reload"
command="/usr/bin/npcd"
command_args="-f /etc/pnp/npcd.cfg -d"
depend() {
need net
}
reload() {
ebegin "Reloading npcd"
kill -HUP `pgrep npcd`
eend $? "Failed to reload npcd"
}
|