mirror of
https://github.com/gryf/wicd.git
synced 2026-02-19 16:35:46 +01:00
Fix Gentoo initscript
This commit is contained in:
@@ -10,12 +10,13 @@ WICD_PIDFILE=%PIDFILE%
|
|||||||
depend() {
|
depend() {
|
||||||
need dbus
|
need dbus
|
||||||
after hald
|
after hald
|
||||||
|
provide net
|
||||||
}
|
}
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
ebegin "Starting wicd daemon"
|
ebegin "Starting wicd daemon"
|
||||||
# fix Gentoo bug 296197
|
# fix Gentoo bug 296197
|
||||||
sed -i 's/^\[\]$//' /etc/wicd/wired-settings.conf
|
[ -f /etc/wicd/wired-settings.conf ] && sed -i 's/^\[\]$//' /etc/wicd/wired-settings.conf
|
||||||
"${WICD_DAEMON}" >/dev/null 2>&1
|
"${WICD_DAEMON}" >/dev/null 2>&1
|
||||||
eend $?
|
eend $?
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user