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