Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=06db31330bbd05c3f130a6fc206154dad6a0fd55
commit 06db31330bbd05c3f130a6fc206154dad6a0fd55 Author: Miklos Vajna <vmik...@frugalware.org> Date: Fri Aug 19 00:48:57 2011 +0200 sysvinit-2.88-9-i686 - remove unused rc.{0,4,6,K,M,S,halt,reboot,single,sysvinit} diff --git a/source/base-extra/sysvinit/FrugalBuild b/source/base-extra/sysvinit/FrugalBuild index b777c07..653cab8 100644 --- a/source/base-extra/sysvinit/FrugalBuild +++ b/source/base-extra/sysvinit/FrugalBuild @@ -4,7 +4,7 @@ pkgname=sysvinit pkgver=2.88 pkgextraver=dsf -pkgrel=8 +pkgrel=9 pkgdesc="Init, the parent of all processes" url="ftp://ftp.cistron.nl/pub/people/miquels/sysvinit/" depends=() @@ -14,9 +14,8 @@ groups=('base-extra') archs=('i686' 'x86_64' 'ppc' 'arm') up2date="Flasttar http://download.savannah.gnu.org/releases/$pkgname" source=(http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver$pkgextraver.tar.bz2 \ - functions functions-{de,hu,it}.po inittab rc.4 rc.4-de.po rc.6 rc.{de,en,hu,it}\ - rc.functions rc.K rc.local rc.M rc.messages rc.reboot rc.reboot-{de,hu}.po \ - rc.S rc.single rc.single-{de,hu}.po rc.sysvinit sysvinit-2.86.diff) + functions functions-{de,hu,it}.po inittab rc.{de,en,hu,it} \ + rc.functions rc.local rc.messages sysvinit-2.86.diff) subpkgs=("${subpkgs[@]}" "$pkgname-initscripts") subdescs=("${subdescs[@]}" 'System V init scripts.') @@ -40,26 +39,13 @@ sha1sums=('f2ca149df1314a91f3007cccd7a0aa47d990de26' \ '83e5879898d7750b157552606a62f0f7bf1f0c97' \ 'f16abb4a07b323a739b5b12d24d793559a22192d' \ '8322ba55d54522ffb2963c5503a44f774b04fe9a' \ - '29ad61caa6b0c83b1299a03a742a76a614345231' \ - '513b3fe42c714738af40596987a4fae71ae820d6' \ - '173c5d41d3fe58ba9a12711d63dfab31c2db8f09' \ '7d507be266edd617545118f4bff80ab064744230' \ 'be843c12f8e7b3db98efd7bea36ba8974c65e2bc' \ '16b704d3ec13c0e980cec2c4f800fa7f736ac279' \ '1c4c151b15ac5c038207a5fc472988eeca1b8f27' \ 'f023cb3f93bf976cf51fa9ab2ab3cffb19ec7264' \ - '0128bd09abf2c49d42949e92c2822bacfc148d7a' \ '5adafd4851d987ac5310b8a2ca214c82dec87224' \ - '6947c8fe272e268207587b48b8de3c3ebefd0ad5' \ 'c2075ca5be14e318cac2abd2c424715e399d7bfd' \ - '4cfdf216c8bd51df2e59bb0a81d3d98e8d1e93c0' \ - 'd17c85fb0e68256a28c4ccefa4d5224b1522b9f6' \ - '96df0467b3922d51f55a7a2c2b4fd214a53450f5' \ - '61d3ebdae6366e9c41a0887278cb2bbefd972eca' \ - '4f0279cec1d270216080a1178ab1539f7e260030' \ - '64db4a11baebe28eaf5d71119c2cb5f091170957' \ - 'aa911a93c7ab733b1729f6a9c174b687aa2db58d' \ - 'b55eb418f8fef43077cec29c103b70fcb4d21329' \ '837541969bec9e391bd77a2c1a0cca5f7fb20e9b') build() @@ -83,20 +69,12 @@ build() Ffile /etc/inittab - Fexe rc.{6,functions,K,local,M,S,sysvinit} /etc/rc.d/ - - Frcd2 4 - Frcd2 reboot - Frcd2 single + Fexe rc.{functions,local} /etc/rc.d/ Ffile rc.{messages,de,en,hu,it} /etc/rc.d/rc.messages/ - Fln rc.6 /etc/rc.d/rc.0 - Fln rc.reboot /etc/rc.d/rc.halt - Fsplit $pkgname-initscripts /etc/ Fsplit $pkgname-initscripts /lib/initscripts/ - Fsplit $pkgname-initscripts /usr/share/man/man5/{initscript,inittab}.5* Fsplit $pkgname-tools /bin/{mountpoint,pidof} Fsplit $pkgname-tools /usr/bin/{last,lastb,mesg,utmpdump,wall} diff --git a/source/base-extra/sysvinit/pot/rc.4.pot b/source/base-extra/sysvinit/pot/rc.4.pot deleted file mode 100644 index d2ace57..0000000 --- a/source/base-extra/sysvinit/pot/rc.4.pot +++ /dev/null @@ -1,25 +0,0 @@ -# rc.4. -# Copyright (C) YEAR THE rc.4'S COPYRIGHT HOLDER -# This file is distributed under the same license as the rc.4 package. -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: rc.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-11-11 21:56+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: LANGUAGE <l...@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=CHARSET\n" -"Content-Transfer-Encoding: 8bit\n" - -#: rc.4:16 -msgid "Failed to use '$desktop' session manager." -msgstr "" - -#: rc.4:18 -msgid "No /etc/sysconfig/desktop, can't use runlevel 4 without it." -msgstr "" diff --git a/source/base-extra/sysvinit/pot/rc.reboot.pot b/source/base-extra/sysvinit/pot/rc.reboot.pot deleted file mode 100644 index 2e1d699..0000000 --- a/source/base-extra/sysvinit/pot/rc.reboot.pot +++ /dev/null @@ -1,21 +0,0 @@ -# rc.reboot. -# Copyright (C) YEAR THE rc.reboot'S COPYRIGHT HOLDER -# This file is distributed under the same license as the rc.reboot package. -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: rc.reboot\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-11-11 22:10+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: LANGUAGE <l...@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=CHARSET\n" -"Content-Transfer-Encoding: 8bit\n" - -#: rc.reboot:27 -msgid "Rebooting the system" -msgstr "" diff --git a/source/base-extra/sysvinit/pot/rc.single.pot b/source/base-extra/sysvinit/pot/rc.single.pot deleted file mode 100644 index 5bd1d97..0000000 --- a/source/base-extra/sysvinit/pot/rc.single.pot +++ /dev/null @@ -1,25 +0,0 @@ -# rc.single. -# Copyright (C) YEAR THE rc.single'S COPYRIGHT HOLDER -# This file is distributed under the same license as the rc.single package. -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: rc.single\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-11-11 22:16+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: LANGUAGE <l...@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=CHARSET\n" -"Content-Transfer-Encoding: 8bit\n" - -#: rc.single:14 -msgid "Sending all processes the SIGTERM signal" -msgstr "" - -#: rc.single:18 -msgid "Sending all processes the SIGKILL signal" -msgstr "" diff --git a/source/base-extra/sysvinit/rc.4 b/source/base-extra/sysvinit/rc.4 deleted file mode 100644 index efb5a64..0000000 --- a/source/base-extra/sysvinit/rc.4 +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -# (c) 2005 Marcus Habermehl <bmh198...@yahoo.de> -# (c) 2003-2005 Vajna Miklos <vmik...@frugalware.org> -# rc.4 for Frugalware -# distriuted under GPL license - -TEXTDOMAIN=4 -TEXTDOMAINDIR=/lib/initscripts/messages - -[ -d /tmp/.ICE-unix ] || mkdir -m 1777 /tmp/.ICE-unix - -if [ -e /etc/sysconfig/desktop ]; then - . /etc/sysconfig/desktop - $desktop - logger $"Failed to use '$desktop' session manager." -fi -logger $"No /etc/sysconfig/desktop, can't use runlevel 4 without it." -sleep 5m diff --git a/source/base-extra/sysvinit/rc.4-de.po b/source/base-extra/sysvinit/rc.4-de.po deleted file mode 100644 index b948604..0000000 --- a/source/base-extra/sysvinit/rc.4-de.po +++ /dev/null @@ -1,25 +0,0 @@ -# rc.4. -# Copyright (C) 2005 THE rc.4'S COPYRIGHT HOLDER -# This file is distributed under the same license as the rc.4 package. -# Marcus Habermehl <bmh198...@yahoo.de>, 2005. -# -msgid "" -msgstr "" -"Project-Id-Version: rc.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-11-11 21:56+0100\n" -"PO-Revision-Date: 2005-11-11 21:58+0100\n" -"Last-Translator: Marcus Habermehl <bmh198...@yahoo.de>\n" -"Language-Team: German <translation-team...@lists.sourceforge.net>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=ASCII\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: rc.4:16 -msgid "Failed to use '$desktop' session manager." -msgstr "Konnte den Sitzungsmanager '$desktop' nicht verwenden." - -#: rc.4:18 -msgid "No /etc/sysconfig/desktop, can't use runlevel 4 without it." -msgstr "Kann Runlevel 4 nicht verwenden, da /etc/sysconfig/desktop nicht gefunden wurde." diff --git a/source/base-extra/sysvinit/rc.6 b/source/base-extra/sysvinit/rc.6 deleted file mode 100644 index 015f25a..0000000 --- a/source/base-extra/sysvinit/rc.6 +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -# (c) 2003-2004 Vajna Miklos <vmik...@frugalware.org> -# rc.6 for Frugalware -# distriuted under GPL license - -export PATH=/sbin:/usr/sbin:/bin:/usr/bin -. /etc/profile.d/lang.sh - -/etc/rc.d/rc.sysvinit 0 100 K diff --git a/source/base-extra/sysvinit/rc.K b/source/base-extra/sysvinit/rc.K deleted file mode 100644 index d2236b2..0000000 --- a/source/base-extra/sysvinit/rc.K +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -# (c) 2003-2004 Vajna Miklos <vmik...@frugalware.org> -# rc.K for Frugalware -# distriuted under GPL license - -export PATH=/sbin:/usr/sbin:/bin:/usr/bin -. /etc/profile.d/lang.sh - -/etc/rc.d/rc.sysvinit 0 100 K diff --git a/source/base-extra/sysvinit/rc.M b/source/base-extra/sysvinit/rc.M deleted file mode 100644 index 72a06a8..0000000 --- a/source/base-extra/sysvinit/rc.M +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -# (c) 2003-2004 Vajna Miklos <vmik...@frugalware.org> -# rc.M for Frugalware -# distriuted under GPL license - -export PATH=/sbin:/usr/sbin:/bin:/usr/bin -. /etc/profile.d/lang.sh - -/etc/rc.d/rc.sysvinit 30 100 S diff --git a/source/base-extra/sysvinit/rc.S b/source/base-extra/sysvinit/rc.S deleted file mode 100644 index 1fa9de3..0000000 --- a/source/base-extra/sysvinit/rc.S +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -# (c) 2003-2004 Vajna Miklos <vmik...@frugalware.org> -# rc.S for Frugalware -# distriuted under GPL license - -export PATH=/sbin:/usr/sbin:/bin:/usr/bin -. /etc/profile.d/lang.sh - -/etc/rc.d/rc.sysvinit 0 30 S diff --git a/source/base-extra/sysvinit/rc.reboot b/source/base-extra/sysvinit/rc.reboot deleted file mode 100644 index b98a74d..0000000 --- a/source/base-extra/sysvinit/rc.reboot +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/bash - -# (c) 2005 Marcus Habermehl <bmh198...@yahoo.de> -# (c) 2003 Vajna Miklos <vmik...@frugalware.org> -# rc.reboot for Frugalware -# distributed under GPL License - -# chkconfig: 06 99 50 -# description: Halt or reboot the system - -source /lib/initscripts/functions -TEXTDOMAIN=reboot -TEXTDOMAINDIR=/lib/initscripts/messages - -actions=(start) - -if [ -z $2 ] ; then - rl=4 -else - rl=$2 -fi - -rc_start() -{ - if (( ${rl} == 0 )) ; then - poweroff - else - msg $"Rebooting the system" - reboot - ok $? - fi -} - -rc_exec $1 - -# vim: ft=sh diff --git a/source/base-extra/sysvinit/rc.reboot-de.po b/source/base-extra/sysvinit/rc.reboot-de.po deleted file mode 100644 index 28ea83e..0000000 --- a/source/base-extra/sysvinit/rc.reboot-de.po +++ /dev/null @@ -1,21 +0,0 @@ -# rc.reboot. -# Copyright (C) 2005 THE rc.reboot'S COPYRIGHT HOLDER -# This file is distributed under the same license as the rc.reboot package. -# Marcus Habermehl <bmh198...@yahoo.de>, 2005. -# -msgid "" -msgstr "" -"Project-Id-Version: rc.reboot\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-11-11 22:10+0100\n" -"PO-Revision-Date: 2005-11-11 22:11+0100\n" -"Last-Translator: Marcus Habermehl <bmh198...@yahoo.de>\n" -"Language-Team: German <translation-team...@lists.sourceforge.net>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=ISO-8859-1\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: rc.reboot:27 -msgid "Rebooting the system" -msgstr "Starte das System neu" diff --git a/source/base-extra/sysvinit/rc.reboot-hu.po b/source/base-extra/sysvinit/rc.reboot-hu.po deleted file mode 100644 index 1488a26..0000000 --- a/source/base-extra/sysvinit/rc.reboot-hu.po +++ /dev/null @@ -1,21 +0,0 @@ -# rc.reboot. -# Copyright (C) 2005 THE rc.reboot'S COPYRIGHT HOLDER -# This file is distributed under the same license as the rc.reboot package. -# Marcus Habermehl <bmh198...@yahoo.de>, 2005. -# -msgid "" -msgstr "" -"Project-Id-Version: rc.reboot\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-11-11 22:10+0100\n" -"PO-Revision-Date: 2005-11-11 22:11+0100\n" -"Last-Translator: Marcus Habermehl <bmh198...@yahoo.de>\n" -"Language-Team: Hungarian <translation-team...@lists.sourceforge.net>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=ISO-8859-2\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: rc.reboot:27 -msgid "Rebooting the system" -msgstr "A rendszer újraindítása" diff --git a/source/base-extra/sysvinit/rc.single b/source/base-extra/sysvinit/rc.single deleted file mode 100644 index 5e0ec2a..0000000 --- a/source/base-extra/sysvinit/rc.single +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash - -# (c) 2003-2008 Miklos Vajna <vmik...@frugalware.org> -# (c) 2005 Marcus Habermehl <bmh198...@yahoo.de> -# rc.single for Frugalware -# distributed under GPL License - -# chkconfig: 1 00 96 -# description: Goes to single-user mode - -source /lib/initscripts/functions -TEXTDOMAIN=single -TEXTDOMAINDIR=/lib/initscripts/messages - -OMITPIDS= -if [ -e /var/run/sendsigs.omit ]; then - for pid in $(cat /var/run/sendsigs.omit); - do - OMITPIDS="${OMITPIDS:+$OMITPIDS }-o $pid" - done -fi - -msg $"Sending all processes the SIGTERM signal" -killall5 -15 $OMITPIDS -ok $? - -msg $"Sending all processes the SIGKILL signal" -sleep 5 -killall5 -9 $OMITPIDS -ok $? - -if [ "$1" = "start" ]; then - init -t1 1 -fi diff --git a/source/base-extra/sysvinit/rc.single-de.po b/source/base-extra/sysvinit/rc.single-de.po deleted file mode 100644 index 8b6e8ac..0000000 --- a/source/base-extra/sysvinit/rc.single-de.po +++ /dev/null @@ -1,25 +0,0 @@ -# rc.single. -# Copyright (C) 2005 THE rc.single'S COPYRIGHT HOLDER -# This file is distributed under the same license as the rc.single package. -# Marcus Habermehl <bmh198...@yahoo.de>, 2005. -# -msgid "" -msgstr "" -"Project-Id-Version: rc.single\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-11-11 22:16+0100\n" -"PO-Revision-Date: 2005-11-11 22:17+0100\n" -"Last-Translator: Marcus Habermehl <bmh198...@yahoo.de>\n" -"Language-Team: German <translation-team...@lists.sourceforge.net>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=ISO-8859-1\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: rc.single:14 -msgid "Sending all processes the SIGTERM signal" -msgstr "Sende das Signal SIGTERM an alle Prozesse" - -#: rc.single:18 -msgid "Sending all processes the SIGKILL signal" -msgstr "Sende das Signal SIGKILL an alle Prozesse" diff --git a/source/base-extra/sysvinit/rc.single-hu.po b/source/base-extra/sysvinit/rc.single-hu.po deleted file mode 100644 index 2e239ae..0000000 --- a/source/base-extra/sysvinit/rc.single-hu.po +++ /dev/null @@ -1,25 +0,0 @@ -# rc.single. -# Copyright (C) 2005 THE rc.single'S COPYRIGHT HOLDER -# This file is distributed under the same license as the rc.single package. -# Marcus Habermehl <bmh198...@yahoo.de>, 2005. -# -msgid "" -msgstr "" -"Project-Id-Version: rc.single\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-11-11 22:16+0100\n" -"PO-Revision-Date: 2005-11-11 22:18+0100\n" -"Last-Translator: Marcus Habermehl <bmh198...@yahoo.de>\n" -"Language-Team: Hungarian <translation-team...@lists.sourceforge.net>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=ISO-8859-2\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: rc.single:14 -msgid "Sending all processes the SIGTERM signal" -msgstr "SIGTERM szignál küldése a folyamatoknak" - -#: rc.single:18 -msgid "Sending all processes the SIGKILL signal" -msgstr "SIGKILL szignál küldése a folyamatoknak" diff --git a/source/base-extra/sysvinit/rc.sysvinit b/source/base-extra/sysvinit/rc.sysvinit deleted file mode 100644 index 390fbfe..0000000 --- a/source/base-extra/sysvinit/rc.sysvinit +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/bash - -# (c) 2003-2006 Miklos Vajna <vmik...@frugalware.org> -# (c) 2005 Marcus Habermehl <bmh198...@yahoo.de> -# from an example from Miquel van Smoorenburg <miqu...@cistron.nl> -# rc.sysvinit for Frugalware -# distributed under GPL License - -splash_prog() -{ - if [ ! -z "$(eval pidof splashy)" ] ;then - splashy_update "progress $1" 2>/dev/null - fi - if [ ! -z "$(eval pidof plymouthd)" ] ;then - /bin/plymouth --update="progress $1" 2>/dev/null - fi -} - -# Run kill scripts in the previous runlevel if not "none" -if [[ "${PREVLEVEL}" != "N" ]] ; then - for script in /etc/rc.d/rc${RUNLEVEL}.d/K* ; do - ${script} stop ${RUNLEVEL} - if [[ "$3" == "K" ]] ; then - [ -z "${prog}" ] && prog=$1 - prog=$((${prog}+(($2-$1)/$(ls /etc/rc.d/rc${RUNLEVEL}.d/K*|wc -l)))) - splash_prog ${prog} - fi - done - unset prog -else - stty onlcr 0>&1 - [ -d /proc/1 ] || mount none -t proc /proc -fi - -# Now do the startup scripts: -for script in /etc/rc.d/rc${RUNLEVEL}.d/S* ; do - ${script} start ${RUNLEVEL} - if [[ "$3" == "S" ]] ; then - [ -z "${prog}" ] && prog=$1 - prog=$((${prog}+(($2-$1)/$(ls /etc/rc.d/rc${RUNLEVEL}.d/S*|wc -l)))) - splash_prog ${prog} - fi -done - -splash_prog $2 diff --git a/source/base-extra/sysvinit/sysvinit-initscripts.install b/source/base-extra/sysvinit/sysvinit-initscripts.install index 50ed416..caaf874 100644 --- a/source/base-extra/sysvinit/sysvinit-initscripts.install +++ b/source/base-extra/sysvinit/sysvinit-initscripts.install @@ -1,33 +1,11 @@ -# arg 1: the new package version post_install() { chkconfig --add rc.local - chkconfig --add rc.reboot - chkconfig --add rc.single } -# arg 1: the new package version -# arg 2: the old package version -pre_upgrade() { - pre_remove -} - -# arg 1: the new package version -# arg 2: the old package version -post_upgrade() { - post_install - ## FS#3245 - /sbin/init u -} - -# arg 1: the old package version pre_remove() { chkconfig --del rc.local - chkconfig --del rc.reboot - chkconfig --del rc.single } op=$1 shift $op $* - -# vim: ft=sh
_______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git