1
0
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:
David Paleino
2013-01-23 21:59:42 +01:00
parent 2eded80a9b
commit bd4ad07f7a

View File

@@ -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 $?
} }