commit ce528e0fe85a8b4eb15a9473de7f7b0dc71a4ad0 Author: kueller Date: Sat May 3 16:58:44 2008 +0000 V961 Tree Umbau git-svn-id: svn://svn.compuextreme.de/Viitor/V961/Viitor_cdboot@4237 504e572c-2e33-0410-9681-be2bf7408885 diff --git a/etc/init.d/checkfs b/etc/init.d/checkfs new file mode 100755 index 0000000..c82205b --- /dev/null +++ b/etc/init.d/checkfs @@ -0,0 +1,70 @@ +#!/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. +# +#InitScript zum Start des Daemons: +#Start/Stop Script checkfs +#FileSystem Checks initiieren +#Basierend auf einer Vorlage von linuxfromscratch.org +#speziell angepasst fuer den boot von der installations CDROM +#Letzte Änderung von: $Author$ +#Datum der letzten Änderung: $Date$ +#Version der Datei: $Revision$ +# + +# Begin /etc/init.d/checkfs + +source /etc/init.d/functions + +echo -n "Mounting tmpfs" +mount -t tmpfs none /var +evaluate_retval + +echo -n "Restoring Var FileSystem" +cd /var +tar -zxpf /boot/var.tgz +evaluate_retval + +echo -n "Checking for System Configuration on /dev/floppy/0" +tar -zxf /dev/floppy/0 + +for i in `sed -e "/^#/d" /etc/fstab|awk '{print $2}'`; do + MOUNTPOINT=$i + DEVICE=`awk '{if( $2 == "'$MOUNTPOINT'") print $1}' /etc/fstab` + if [ "$DEVICE" == "none" ]; then + echo -n "Mounting $MOUNTPOINT" + mount $MOUNTPOINT + evaluate_retval + fi +done + +if [ -f /sbin/vgscan ]; then + echo -n "Scanning Volumes" + /sbin/vgscan >/dev/null 2>&1 + evaluate_retval + for i in `vgdisplay|grep "VG Name"|awk '{print $3}'`; do + echo -n "Activating Volume $i" + vgchange -a y $i + evaluate_retval + done +fi + +# End /etc/init.d/checkfs diff --git a/etc/init.d/hostname b/etc/init.d/hostname new file mode 100755 index 0000000..d72cf65 --- /dev/null +++ b/etc/init.d/hostname @@ -0,0 +1,28 @@ +#!/bin/bash + +source /etc/init.d/functions + +case $1 in + start) + echo -n "Setting cdrom hostname in /etc/hosts" + if ip addr list dev eth0|grep -q inet; then + IP=`ifconfig eth0|grep inet|awk '{print $2}'|cut -d ":" -f 2` + echo "$IP ViitorLinux_install" >>/etc/hosts + else + sed -e "s/127\.0\.0\.1.*$/127.0.0.1 localhost ViitorLinux_install/" /etc/hosts >/tmp/hosts + mv /tmp/hosts /var/etc/hosts + fi + evaluate_retval + ;; + stop) + exit + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "Usage: $0 start|stop" + ;; +esac diff --git a/etc/init.d/mountfs b/etc/init.d/mountfs new file mode 100644 index 0000000..daa509e --- /dev/null +++ b/etc/init.d/mountfs @@ -0,0 +1,76 @@ +#!/bin/bash +#Generierung einer Bootable Monsum Linux CD +#Mountfs muß einige besonderheiten beachten, da CD nicht beschreibbar ist +#Script Framework - Automatisiertes Erzeugen der Monsum Linux Distribution +#(c) Rainmaker MultiMedia OHG +# +#$Author$ +#$Date$ +#$Revision$ +# +#$Log$ +#Revision 1.9 2005/10/05 10:00:02 kueller +#cdboot liefert nun ein eigenes checkfs mit, welches die mounts, sowie +#die erstellung von fstab usw. (var.tar) vornimmt. +# +#Revision 1.8 2005/01/17 14:32:16 kueller +#/udev wird nun mit beschreibbarem filesystem versehen, damit der udevd +#richtig arbeiten kann. +# +#Revision 1.7 2003/10/23 10:36:01 kueller +#Volumemanagement wird in checkfs initialisiert - entfernt. +#tmpfs, devfs usw. werden ebenfalls bereits in checkfs gemounted. +# +#Revision 1.6 2002/10/06 12:14:11 kueller +#Unnötiges bereinigt: remount,rw von / nicht möglich -> CDROM +#mountfs liest nun wenn vorhanden konfigurationsdaten von Diskette ein +# +#Revision 1.5 2002/01/21 16:56:48 kueller +#Änderungen der mountfs aus Monsum_sysvinit auch hier eingespielt. +#Dadurch wird das VolumeManagement richtig initialisiert +# +#Revision 1.4 2002/01/21 14:34:22 kueller +#Vorhandene Volumes werden nun richtig initialisiert +# +#Revision 1.3 2002/01/21 13:54:58 kueller +#Versuchsballon hat nicht funktioniert - änderungen zurückgenommen +# +#Revision 1.2 2002/01/21 12:18:35 kueller +#Versuchsballon: tmpfs wird nach /etc/lvmtab.d und /etc/lvmconf gemountet. +#Maybe so funzt dann der Volume Manager auch von CD aus +# +#Revision 1.1.1.1 2001/09/22 23:07:03 kueller +#Neustart wg. Datenverlust +# +#Revision 1.2 2001/08/25 13:39:02 kueller +# +#RamDisk wird in zukunft nicht mehr benötigt - das ganze lässt sich eleganter +#über das tmpfs lösen +# +#Revision 1.1.1.1 2001/08/10 18:24:53 kueller +#Daten um Bootfähige CD Zu erzeugen +# +# +# Begin /etc/init.d/mountfs + +source /etc/init.d/functions + +chmod 1777 /var/tmp + + +#echo -n "Mounting other file systems..." +for i in `sed -e "/^#/d" /etc/fstab|awk '{print $2}'`; do + MOUNTPOINT=$i + FILESYSTEM=`awk '{if( $2 == "'$MOUNTPOINT'") print $3}' /etc/fstab` + DEVICE=`awk '{if( $2 == "'$MOUNTPOINT'") print $1}' /etc/fstab` + if [ ! "$FILESYSTEM" == "nfs" ] \ + && [ ! "$FILESYSTEM" == "swap" ] \ + && [ ! "$MOUNTPOINT" == "/" ] \ + && [ ! "$DEVICE" == "none" ]; then + echo -n "Mounting $MOUNTPOINT" + mount $MOUNTPOINT + evaluate_retval + fi +done + +# End /etc/init.d/mountfs diff --git a/etc/init.d/rc3.d/S12hostname b/etc/init.d/rc3.d/S12hostname new file mode 120000 index 0000000..57f501e --- /dev/null +++ b/etc/init.d/rc3.d/S12hostname @@ -0,0 +1 @@ +../hostname \ No newline at end of file diff --git a/etc/init.d/rc4.d/S12hostname b/etc/init.d/rc4.d/S12hostname new file mode 120000 index 0000000..57f501e --- /dev/null +++ b/etc/init.d/rc4.d/S12hostname @@ -0,0 +1 @@ +../hostname \ No newline at end of file diff --git a/etc/init.d/xdm b/etc/init.d/xdm new file mode 100755 index 0000000..7324ac1 --- /dev/null +++ b/etc/init.d/xdm @@ -0,0 +1,80 @@ +#!/bin/sh +# Begin /etc/init.d/network +# Start des XWindows Login Managers +# Eine Datei unter /etc/X11/xdm mit namen .xdm +# die den Pfad zum loginmanager enthält steuert dieses Script +# Ist eine entsprechende Datei vorhanden, so wird der entsprechende +# windowmanager gestartet. Es darf nur eine Datei mit der Endung +# xdm vorhanden sein! +#(c) Rainmaker MultiMedia OHG +# +#$Author: kueller $ +#$Date: 2004-12-04 17:05:43 +0100 (Sa, 04 Dez 2004) $ +#$Revision: 3422 $ +# +#$Log$ +#Revision 1.4 2004/12/04 16:05:43 kueller +#.ICE-unix wird mit rootrechten und rwxrwxrwt Rechten angelegt. Damit funktionier +#kde auch wieder korrekt. +# +#Revision 1.3 2003/04/19 08:09:13 kueller +#Restart Option hinzugefügt +# +#Revision 1.2 2002/10/12 12:52:58 kueller +#Vorhandensein von /etc/X11/xdm/*.xdm wird vor start des Windowmanagers +#ueberprüft - dies verhindert fehlermeldungen! +# +#Revision 1.1.1.1 2001/09/23 13:25:09 kueller +#Neustart wg. Datenverlust +# +#Revision 1.2 2001/08/25 13:21:25 kueller +# +#xdm wird jetzt mit loadproc und killproc gestartet/beendet. Das gewähleistet +#eine sicherere funktion, und vermeidet unsinnige Fehlermeldungen +# +#Revision 1.1.1.1 2001/08/14 18:55:19 kueller +#X11 Add Ons +# +# + + +source /etc/init.d/functions +case "$1" in + start) + if [ ! -d /tmp/.ICE-unix ]; then + mkdir /tmp/.ICE-unix + chown root:root /tmp/.ICE-unix + chmod 1777 /tmp/.ICE-unix + fi + if ls /etc/X11/xdm/*.xdm >/dev/null 2>&1; then + XDM=`cat /etc/X11/xdm/*.xdm` + if [ -f $XDM ]; then + echo -n "Starte Login Manager $XDM" + loadproc $XDM + fi + else + source /etc/profile + source /root/.bash_profile + startx & + fi + ;; + stop) + if ls /etc/X11/xdm/*.xdm >/dev/null 2>&1; then + XDM=`cat /etc/X11/xdm/*.xdm` + if [ -f $XDM ]; then + echo -n "Shutting down Login Manager $XDM" + killproc $XDM + fi + fi + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "Usage: $0: {start|stop|restart}" + exit 1 + ;; +esac +#end /etc/inet.d/network diff --git a/etc/issue b/etc/issue new file mode 100644 index 0000000..7730354 --- /dev/null +++ b/etc/issue @@ -0,0 +1,25 @@ + + || || |||| |||| |||||||| ||| ||||||\\\\ + || || || || || // \\\\ || || + || || || || || // \\\\ || || + || || || || || || || ||||||// + \\\\ // || || || \\\\ // || \\\\ + \\\\ // || || || \\\\ // || \\\\ + \\\\// |||| |||| || ||| || \\\\ + +Willkommen zur CompuExtreme Viitor Server Distribution. Diese Distribution +richtet sich an Unix/Linux Administratoren. Ensprechendes Know How wird +vorrausgesetzt. +Zur Installation müssen erst die Festplatten eingerichtet werden (fdisk). +Als Filesysteme können ext2fs, Reiserfs oder xfs zum Einsatz kommen. +Die Eingerichteten Partitionen wie im späternen System z.B. +unter /mnt mounten. Hiernach unter /Viitor/install das Script +make_base_install aufrufen. Hier wird als default der Installationsumfang +aus BaseSystem.cfg verwendet, sowie als Installation Pfad "/mnt" verwendet. +Dies kann mit den Optionen -c und -m verändert werden. +Im weiteren Verlauf auf die Ausgaben und Abfragen des Scriptes Achten! + + Viel Spass wünscht + Harald Küller + +Login with "root", Password "Viitor" diff --git a/etc/sysconfig/net/eth0.dhcp b/etc/sysconfig/net/eth0.dhcp new file mode 100644 index 0000000..e69de29 diff --git a/isolinux/isolinux.bin b/isolinux/isolinux.bin new file mode 100644 index 0000000..04f8846 Binary files /dev/null and b/isolinux/isolinux.bin differ diff --git a/isolinux/isolinux.cfg b/isolinux/isolinux.cfg new file mode 100644 index 0000000..670a237 --- /dev/null +++ b/isolinux/isolinux.cfg @@ -0,0 +1,14 @@ +SERIAL 0 9600 +TIMEOUT 100 +DEFAULT Install +DISPLAY ViitorBoot.msg +LABEL Live + APPEND root=/dev/sr0 + KERNEL linux + PROMPT 1 +LABEL Install + APPEND initrd=initrd.gz console=ttyS0,9600 console=tty0 noapic + KERNEL linux +LABEL NoSer + APPEND initrd=initrd.gz + KERNEL linux.noser diff --git a/var/etc/X11/xorg.conf b/var/etc/X11/xorg.conf new file mode 100644 index 0000000..28bafdf --- /dev/null +++ b/var/etc/X11/xorg.conf @@ -0,0 +1,66 @@ +# nvidia-xconfig: X configuration file generated by nvidia-xconfig +# nvidia-xconfig: version 1.0 (buildmeister@builder3) Fri Jan 11 15:05:59 PST 2008 + +Section "ServerLayout" + Identifier "Layout0" + Screen 0 "Screen0" 0 0 + InputDevice "Keyboard0" "CoreKeyboard" + InputDevice "Mouse0" "CorePointer" +EndSection + +Section "Files" +EndSection + +Section "Module" + Load "freetype" + # Load "xtt" + Load "extmod" + Load "glx" + Load "dbe" + Load "record" + Load "xtrap" + Load "type1" +EndSection + +Section "InputDevice" + Identifier "Mouse0" + Driver "mouse" + Option "Protocol" "Auto" + Option "Device" "/dev/input/mice" + Option "Emulate3Buttons" "0" + Option "Buttons" "9" + Option "ButtonMapping" "1 2 3 6 7" +EndSection + +Section "InputDevice" + Identifier "Keyboard0" + Driver "kbd" + Option "XkbModel" "logicdp" + Option "XkbLayout" "de" +EndSection + +Section "Monitor" + + ### Comment all HorizSync and VertRefresh values to use DDC: + Identifier "Monitor0" + HorizSync 31.5 - 82.0 + VertRefresh 60.0 - 75.0 +EndSection + +Section "Device" + Identifier "Card0" + Driver "vesa" +EndSection + +Section "Screen" + Identifier "Screen0" + Device "Card0" + Monitor "Monitor0" + DefaultDepth 24 + SubSection "Display" + Viewport 0 0 + Depth 24 + Modes "1024x768" "1280x1024" + EndSubSection +EndSection + diff --git a/var/root/.config/xfce4-session/xfce4-session.rc b/var/root/.config/xfce4-session/xfce4-session.rc new file mode 100644 index 0000000..8c34b5b --- /dev/null +++ b/var/root/.config/xfce4-session/xfce4-session.rc @@ -0,0 +1,4 @@ +[General] +SessionName=Standard +SaveOnExit=true + diff --git a/var/root/.config/xfce4/mcs_settings/display.xml b/var/root/.config/xfce4/mcs_settings/display.xml new file mode 100644 index 0000000..54e3911 --- /dev/null +++ b/var/root/.config/xfce4/mcs_settings/display.xml @@ -0,0 +1,11 @@ + + + + + diff --git a/var/root/.config/xfce4/mcs_settings/gtk.xml b/var/root/.config/xfce4/mcs_settings/gtk.xml new file mode 100644 index 0000000..a43802b --- /dev/null +++ b/var/root/.config/xfce4/mcs_settings/gtk.xml @@ -0,0 +1,18 @@ + + + + + diff --git a/var/root/.config/xfce4/mcs_settings/keyboard.xml b/var/root/.config/xfce4/mcs_settings/keyboard.xml new file mode 100644 index 0000000..cf8ea37 --- /dev/null +++ b/var/root/.config/xfce4/mcs_settings/keyboard.xml @@ -0,0 +1,8 @@ + + + + + diff --git a/var/root/.config/xfce4/mcs_settings/ls-iconbox.xml b/var/root/.config/xfce4/mcs_settings/ls-iconbox.xml new file mode 100644 index 0000000..5ed767a --- /dev/null +++ b/var/root/.config/xfce4/mcs_settings/ls-iconbox.xml @@ -0,0 +1,7 @@ + + + + + diff --git a/var/root/.config/xfce4/mcs_settings/margins.xml b/var/root/.config/xfce4/mcs_settings/margins.xml new file mode 100644 index 0000000..b956b57 --- /dev/null +++ b/var/root/.config/xfce4/mcs_settings/margins.xml @@ -0,0 +1,9 @@ + + + + + diff --git a/var/root/.config/xfce4/mcs_settings/mouse.xml b/var/root/.config/xfce4/mcs_settings/mouse.xml new file mode 100644 index 0000000..71adde9 --- /dev/null +++ b/var/root/.config/xfce4/mcs_settings/mouse.xml @@ -0,0 +1,9 @@ + + + + + diff --git a/var/root/.config/xfce4/mcs_settings/panel.xml b/var/root/.config/xfce4/mcs_settings/panel.xml new file mode 100644 index 0000000..0c76ca3 --- /dev/null +++ b/var/root/.config/xfce4/mcs_settings/panel.xml @@ -0,0 +1,11 @@ + + + + + diff --git a/var/root/.config/xfce4/mcs_settings/taskbar.xml b/var/root/.config/xfce4/mcs_settings/taskbar.xml new file mode 100644 index 0000000..227b0ee --- /dev/null +++ b/var/root/.config/xfce4/mcs_settings/taskbar.xml @@ -0,0 +1,15 @@ + + + + + diff --git a/var/root/.config/xfce4/mcs_settings/workspaces.xml b/var/root/.config/xfce4/mcs_settings/workspaces.xml new file mode 100644 index 0000000..b748e8b --- /dev/null +++ b/var/root/.config/xfce4/mcs_settings/workspaces.xml @@ -0,0 +1,7 @@ + + + + + diff --git a/var/root/.config/xfce4/mcs_settings/xfcalendar.xml b/var/root/.config/xfce4/mcs_settings/xfcalendar.xml new file mode 100644 index 0000000..b188c14 --- /dev/null +++ b/var/root/.config/xfce4/mcs_settings/xfcalendar.xml @@ -0,0 +1,10 @@ + + + + + diff --git a/var/root/.config/xfce4/mcs_settings/xfprint.xml b/var/root/.config/xfce4/mcs_settings/xfprint.xml new file mode 100644 index 0000000..9ea217b --- /dev/null +++ b/var/root/.config/xfce4/mcs_settings/xfprint.xml @@ -0,0 +1,6 @@ + + + + + diff --git a/var/root/.config/xfce4/mcs_settings/xfwm4.xml b/var/root/.config/xfce4/mcs_settings/xfwm4.xml new file mode 100644 index 0000000..f3ba086 --- /dev/null +++ b/var/root/.config/xfce4/mcs_settings/xfwm4.xml @@ -0,0 +1,23 @@ + + + + + diff --git a/var/root/.config/xfce4/mcs_settings/xfwm4_keys.xml b/var/root/.config/xfce4/mcs_settings/xfwm4_keys.xml new file mode 100644 index 0000000..8b419bf --- /dev/null +++ b/var/root/.config/xfce4/mcs_settings/xfwm4_keys.xml @@ -0,0 +1,6 @@ + + + + + diff --git a/var/root/.config/xfce4/panel/contents.xml b/var/root/.config/xfce4/panel/contents.xml new file mode 100644 index 0000000..13fc03a --- /dev/null +++ b/var/root/.config/xfce4/panel/contents.xml @@ -0,0 +1,117 @@ + + + + + + + + + xfterm4 + Terminal + + + + + + + Appfinder + xfce4-appfinder + Find and run applications + + + + Konqueror + konqueror + Konqueror File Manager + + + + Nautilus + nautilus --no-desktop + Nautilus File Manager + + + + + xffm + File manager + + + + + + links -g -mode 800x400 /usr/share/doc/ViitorDoc/Viitor/Doc/index.html + Links WEB Browser + + + + + + + /var/spool/mail/ + mozilla -mail + + + + + + + xmms + Music player + + + + + + + + + + + + + + + xfce-setting-show + Settings + + + + + + + Printer Management + xfprint-manager + Printer Management + + + + + xfprint4 + Drag file to print + + + + + + xfhelp4 + Manual + + + + + + + + + + + + + + + + + + + diff --git a/var/root/.config/xfce4/panel/contents.xml.active b/var/root/.config/xfce4/panel/contents.xml.active new file mode 100644 index 0000000..13fc03a --- /dev/null +++ b/var/root/.config/xfce4/panel/contents.xml.active @@ -0,0 +1,117 @@ + + + + + + + + + xfterm4 + Terminal + + + + + + + Appfinder + xfce4-appfinder + Find and run applications + + + + Konqueror + konqueror + Konqueror File Manager + + + + Nautilus + nautilus --no-desktop + Nautilus File Manager + + + + + xffm + File manager + + + + + + links -g -mode 800x400 /usr/share/doc/ViitorDoc/Viitor/Doc/index.html + Links WEB Browser + + + + + + + /var/spool/mail/ + mozilla -mail + + + + + + + xmms + Music player + + + + + + + + + + + + + + + xfce-setting-show + Settings + + + + + + + Printer Management + xfprint-manager + Printer Management + + + + + xfprint4 + Drag file to print + + + + + + xfhelp4 + Manual + + + + + + + + + + + + + + + + + + + diff --git a/var/root/.config/xfce4/panel/contents.xml.bak b/var/root/.config/xfce4/panel/contents.xml.bak new file mode 100644 index 0000000..13fc03a --- /dev/null +++ b/var/root/.config/xfce4/panel/contents.xml.bak @@ -0,0 +1,117 @@ + + + + + + + + + xfterm4 + Terminal + + + + + + + Appfinder + xfce4-appfinder + Find and run applications + + + + Konqueror + konqueror + Konqueror File Manager + + + + Nautilus + nautilus --no-desktop + Nautilus File Manager + + + + + xffm + File manager + + + + + + links -g -mode 800x400 /usr/share/doc/ViitorDoc/Viitor/Doc/index.html + Links WEB Browser + + + + + + + /var/spool/mail/ + mozilla -mail + + + + + + + xmms + Music player + + + + + + + + + + + + + + + xfce-setting-show + Settings + + + + + + + Printer Management + xfprint-manager + Printer Management + + + + + xfprint4 + Drag file to print + + + + + + xfhelp4 + Manual + + + + + + + + + + + + + + + + + + + diff --git a/var/root/Desktop/Autostart/links_startup b/var/root/Desktop/Autostart/links_startup new file mode 100644 index 0000000..ae5a1be --- /dev/null +++ b/var/root/Desktop/Autostart/links_startup @@ -0,0 +1 @@ +links -g -mode 800x400 /usr/share/doc/ViitorDoc/Viitor/Doc/index.html diff --git a/var/root/Desktop/Autostart/setup_startup b/var/root/Desktop/Autostart/setup_startup new file mode 100755 index 0000000..9105e53 --- /dev/null +++ b/var/root/Desktop/Autostart/setup_startup @@ -0,0 +1,3 @@ +#!/bin/bash +cd /Viitor/install +xterm -e ./Viitor_Setup