[opensuse-packaging] fcron: Short Question to an /etc/init.d File
Hello Mates, i'm working on fcron. The FIle "fcron" is created in the spec: %{__sed} \ -e 's|2345|-|' \ -e 's|2 3 4 5||' \ -e 's|SBIN=@@DESTSBIN@|SBIN=%{_sbindir}|' \ -e 's|/var|%{_localstatedir}|' script/sysVinit-launcher > %{buildroot}%{_initrddir}/fcron How can i change: - # Default-Start: + # Default-Start: 3 4 5 Have a nice evening. P.S. The Spec is ported from an Fedora Package, and i have changed the openSUSE related things ( I hope i found all ). -- Sincerely yours Sascha Manns open-slx GmbH openSUSE Member openSUSE Community & Support Agent openSUSE Ambassador Web: http://www.open-slx.de openSUSE Marketing Team Web: http://www.open-slx.com openSUSE Build Service openSUSE Medical Team Web: http://saschamanns.gulli.to Blog: http://saigkill.wordpress.com ClaimID: http://claimid.com/saigkill
Hello, On Tue, 01 Dec 2009, Sascha 'saigkill' Manns wrote:
i'm working on fcron.
The FIle "fcron" is created in the spec: %{__sed} \ -e 's|2345|-|' \ -e 's|2 3 4 5||' \
It's probably these 2 lines.
-e 's|SBIN=@@DESTSBIN@|SBIN=%{_sbindir}|' \ -e 's|/var|%{_localstatedir}|' script/sysVinit-launcher > %{buildroot}%{_initrddir}/fcron
How can i change: - # Default-Start: + # Default-Start: 3 4 5
As a guess: -e 's|2345| 3 4 5|' \ -e 's|2 3 4 5| 3 4 5|' \ But actually, I suggest creating a own initscript as an extra file. HTH, -dnh -- [..Windows krepiert nach Update..] > Habt Ihr eine Idee, was ich tun könnte? Vermutlich ein Computervirus. Besorg etwas Aciclovir aus der Apotheke, oeffne das Rechnergehaeuse und troepfle das Mittel auf alle roten oder geschwollenen Bauteile. -- Mirko Liss -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (2)
-
David Haller
-
Sascha 'saigkill' Manns