109dae92db
git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_upstart@5524 504e572c-2e33-0410-9681-be2bf7408885
66 lines
1.9 KiB
Bash
66 lines
1.9 KiB
Bash
#!/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: kueller $
|
|
#Datum der letzten Änderung: $Date: 2009-03-30 21:53:23 +0200 (Mo, 30 Mär 2009) $
|
|
#Version der Datei: $Revision: 4568 $
|
|
#
|
|
#$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
|
|
ln -s ../init.d init.d
|
|
cd $WDIR
|