mirror of
https://github.com/gryf/wicd.git
synced 2025-12-19 04:20:22 +01:00
Fix gentoo init
This commit is contained in:
@@ -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