From a11e5c229290996f0253c0f635f2e258308c2234 Mon Sep 17 00:00:00 2001 From: Jon Ciesla Date: Apr 09 2008 20:02:16 +0000 Subject: BZ 247094, initscript fix. --- diff --git a/wesnoth.spec b/wesnoth.spec index 963b389..32737b5 100644 --- a/wesnoth.spec +++ b/wesnoth.spec @@ -1,6 +1,6 @@ Name: wesnoth Version: 1.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Turn-based strategy game with a fantasy theme Group: Amusements/Games @@ -200,6 +200,9 @@ fi %ghost /var/run/wesnothd/socket %changelog +* Wed Apr 09 2008 Jon Ciesla - 1.4-2 +- LSB initscript fix, BZ 247094. + * Tue Mar 11 2008 Jon Ciesla - 1.4-1 - Update to 1.4 stable. diff --git a/wesnothd.init b/wesnothd.init index d3f6afe..a644e5d 100755 --- a/wesnothd.init +++ b/wesnothd.init @@ -10,6 +10,17 @@ # config: /etc/sysconfig/wesnothd # pidfile: /var/run/wesnothd.pid +### BEGIN INIT INFO +# Provides: lsb-wesnothd +# Required-Start: $local_fs $network $remote_fs +# Required-Stop: $local_fs $network $remote_fs +# Default-Start: +# Default-Stop: 0 1 6 +# Short-Description: start and stop Wesnoth server +# Description: wesnothd enables hosting online Wesnoth games +### END INIT INFO + + # Source function library. . /etc/rc.d/init.d/functions