Fix gentoo init
This commit is contained in:
1 parent
48bac465d4
commit
c401f2963b
1 file changed
+3
-5
@@ -1,9 +1,7 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/openrc-run
|
||||||
# Copyright 1999-2006 Gentoo Foundation
|
# Copyright 1999-2020 Gentoo Foundation
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
opts="start stop restart"
|
|
||||||
|
|
||||||
WICD_DAEMON=%SBIN%wicd
|
WICD_DAEMON=%SBIN%wicd
|
||||||
WICD_PIDFILE=%PIDFILE%
|
WICD_PIDFILE=%PIDFILE%
|
||||||
|
|
||||||
@@ -36,5 +34,5 @@ force_kill() {
|
|||||||
|
|
||||||
restart() {
|
restart() {
|
||||||
force_kill
|
force_kill
|
||||||
start
|
sve_start
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user