#!/bin/bash #Framework, welches ein komplettes Linux System aus den Sourcen erstellt #dieses Framework wird im CVS Repository #:pserver:cvs.compuextreme.de:/Data/cvs zur Verfügung gestellt # #Lage dieser Datei im Archiv: $Source$ # #(c) 2003 Harald Kueller, Germany #This program is free software; you can redistribute it and/or #modify ist under the terms of the GNU General Public License #as published by the Free Software Foundation; either version #2 of the License, or (at your option) any later version. # #This program is distributed in the hope that it will be useful, #but WITHOUT ANY WARRANTY; without even the implied warranty of #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. #See the GNU General Public License for more details. # #You should have received a copy of the GNU General Public License #along with this program; if not write to the Free Software Foundation, #Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # #Script: #cvs module init script zur initialisierung #der /etc/init.d scripten #des Viitor_sysvinit archives. # #Letzte Änderung von: $Author$ #Datum der letzten Änderung: $Date$ #Version der Datei: $Revision$ # #$Log$ #Revision 1.5 2004/03/03 12:53:40 kueller #Umstellung auf Viitor GPL Header # # #$Log$ #Revision 1.5 2004/03/03 12:53:40 kueller #Umstellung auf Viitor GPL Header # #Revision 1.4 2002/06/12 09:55:41 hkueller #Eintrag für das install script hinzugefügt # #Revision 1.3 2001/10/16 22:01:47 kueller #Init Scripten werden nun mit den passenden Berechtigungen versehen # #Revision 1.2 2001/09/28 22:04:46 kueller #/etc/sysconfig/net wird nun explizit angelegt # #Revision 1.1.1.1 2001/09/23 00:02:08 kueller #Neustart wg. Datenverlust # # WDIR=`pwd` mkdir -p etc/sysconfig/net cd etc/init.d for i in *; do if [ -f $i ]; then chmod 755 $i fi done mkdir rc{S,0,1,2,3,4,5,6}.d cd rcS.d ln -s ../checkfs S05checkfs ln -s ../mountfs S10mountfs ln -s ../setclock S20setclock ln -s ../loadkeys S30loadkeys cd .. for i in 0 6; do cd rc$i.d ln -s ../ifup K80ifup ln -s ../sendsignals K80sendsignals ln -s ../loadmodules K87loadmodules ln -s ../sysklogd K90sysklogd ln -s ../umountfs K90umountfs cd .. done cd rc0.d ln -s ../halt S99halt cd .. cd rc6.d ln -s ../reboot S99reboot cd .. for i in 1 2 3 4 5; do cd rc$i.d ln -s ../sysklogd S03sysklogd ln -s ../loadmodules S05loadmodules ln -s ../localnet S09localnet ln -s ../ifup S10ifup ln -s ../routing S11routing ln -s ../install S11install cd .. done ln -s ../init.d init.d cd $WDIR