prog="git-daemon"
# Some functions to make the below more readable
-GIT=/usr/bin/git-daemon
+# previous location (f8)
+#GIT=/usr/bin/git-daemon
+# for f14
+GIT=/usr/libexec/git-core/git-daemon
PID_FILE=/var/run/git-daemon.pid
# override OPTIONS altogether for more flexibility
start()
{
echo -n $"Starting $prog: "
- $(eval $GIT $OPTIONS) && success || failure
+ $GIT $OPTIONS && success || failure
RETVAL=$?
[ "$RETVAL" = 0 ] && touch /var/lock/subsys/git
echo