Compare commits
No commits in common. "v961" and "v963" have entirely different histories.
@ -50,7 +50,7 @@ case "$1" in
|
|||||||
XDM=`cat /etc/X11/xdm/*.xdm`
|
XDM=`cat /etc/X11/xdm/*.xdm`
|
||||||
if [ -f $XDM ]; then
|
if [ -f $XDM ]; then
|
||||||
echo -n "Starte Login Manager $XDM"
|
echo -n "Starte Login Manager $XDM"
|
||||||
loadproc $XDM
|
dbus-launch --exit-with-session $XDM
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
24
etc/init/xdm.conf
Normal file
24
etc/init/xdm.conf
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
description "Startup autofs System for local configuration files"
|
||||||
|
author "Harald Kueller <harald.kueller@compuextreme.de>"
|
||||||
|
version 1.0
|
||||||
|
emits none special
|
||||||
|
|
||||||
|
start on (runlevel [45] and (started rpc))
|
||||||
|
stop on runlevel [01236]
|
||||||
|
|
||||||
|
console output
|
||||||
|
|
||||||
|
pre-start script
|
||||||
|
if [ ! -d /tmp/.ICE-unix ]; then
|
||||||
|
mkdir /tmp/.ICE-unix
|
||||||
|
chown root:root /tmp/.ICE-unix
|
||||||
|
chmod 1777 /tmp/.ICE-unix
|
||||||
|
fi
|
||||||
|
end script
|
||||||
|
|
||||||
|
script
|
||||||
|
if ls /etc/X11/xdm/*.xdm >/dev/null 2>&1; then
|
||||||
|
XDM=`cat /etc/X11/xdm/*.xdm`
|
||||||
|
dbus-launch --exit-with-session $XDM --nodaemon
|
||||||
|
fi
|
||||||
|
end script
|
39
init/genpkg
39
init/genpkg
@ -22,20 +22,27 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
WDIR=`pwd`
|
WDIR=`pwd`
|
||||||
cd etc/init.d
|
if [ -d /var/install/sysvinit* ]; then
|
||||||
chmod 755 xdm
|
cd etc/init.d
|
||||||
mkdir rc{0,1,2,3,4,5,6}.d
|
chmod 755 xdm
|
||||||
for i in 0 1 2 3 6; do
|
mkdir rc{0,1,2,3,4,5,6}.d
|
||||||
cd rc$i.d
|
for i in 0 1 2 3 6; do
|
||||||
ln -s ../xdm K00xdm
|
cd rc$i.d
|
||||||
cd ..
|
ln -s ../xdm K00xdm
|
||||||
done
|
cd ..
|
||||||
for i in 4 5; do
|
done
|
||||||
cd rc$i.d
|
for i in 4 5; do
|
||||||
ln -s ../xdm S99xdm
|
cd rc$i.d
|
||||||
cd ..
|
ln -s ../xdm S99xdm
|
||||||
done
|
cd ..
|
||||||
cd ../X11
|
done
|
||||||
chmod 755 xdm/Xsession
|
fi
|
||||||
chmod 755 xinit/xinitrc
|
|
||||||
cd $WDIR
|
cd $WDIR
|
||||||
|
|
||||||
|
chmod 755 usr/X11R7/lib/X11/xdm/Xsession
|
||||||
|
chmod 755 usr/X11R7/lib/X11/xinit/xinitrc
|
||||||
|
|
||||||
|
if [ "$MK64BIT" == "true" ]; then
|
||||||
|
mkdir usr/X11R7/lib64
|
||||||
|
tar -C usr/X11R7/lib -cf - .|tar -C usr/X11R7/lib64 -xf -
|
||||||
|
fi
|
||||||
|
70
tmp/postremove
Normal file
70
tmp/postremove
Normal file
@ -0,0 +1,70 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#Framework, welches ein komplettes Linux System aus den Sourcen erstellt
|
||||||
|
#dieses Framework wird im CVS Repository
|
||||||
|
#:pserver:cvs.rainmaker-mm.de/RMM/cvs zur Verfügung gestellt
|
||||||
|
#
|
||||||
|
#Lage dieser Datei im Archiv: $Source$
|
||||||
|
#
|
||||||
|
#(c) Rainmaker MultiMedia OHG
|
||||||
|
#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.
|
||||||
|
#
|
||||||
|
#Beschreibung:
|
||||||
|
#Postinstall script für das X11 System (XFree Projekt). Erzeugt die
|
||||||
|
#Notwendigen Systemeinträge (/etc/ld.so.conf), sowie auf wunsch eine
|
||||||
|
#X11R6 Konfiguration (mit xorgconfig Script).
|
||||||
|
#
|
||||||
|
#Aufrufparameter:
|
||||||
|
#keine
|
||||||
|
#
|
||||||
|
#Letzte Änderung von: $Author$
|
||||||
|
#Datum der letzten Änderung: $Date$
|
||||||
|
#Version der Datei: $Revision$
|
||||||
|
#
|
||||||
|
#$Log$
|
||||||
|
#Revision 1.5 2007/02/10 22:35:06 kueller
|
||||||
|
#lib64 wird jetzt in ld.so.conf beruecksichtigt
|
||||||
|
#
|
||||||
|
#Revision 1.4 2006/06/18 13:25:00 kueller
|
||||||
|
#Anpassungen an X11R7
|
||||||
|
#
|
||||||
|
#Revision 1.3 2004/11/22 12:53:06 kueller
|
||||||
|
#Anpassungen an neuen XOrg Server - configtool heisst nun xorgconfig.
|
||||||
|
#
|
||||||
|
#Revision 1.2 2002/10/09 08:20:47 kueller
|
||||||
|
#Anpassungen an neues chroot verhalten von installpkg. Ausserdem einsatz
|
||||||
|
#des neuen GPL Monsum Headers.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
#Revision 1.1.1.1 2001/09/23 13:25:09 kueller
|
||||||
|
#Neustart wg. Datenverlust
|
||||||
|
#
|
||||||
|
#Revision 1.3 2001/08/17 21:46:03 kueller
|
||||||
|
#
|
||||||
|
#Sicherheitsabfrage, die mehrmaliges Eintragen in ld.so.conf verhindert,
|
||||||
|
#hinzugefügt
|
||||||
|
#
|
||||||
|
#Revision 1.2 2001/08/17 13:52:08 cvs
|
||||||
|
#
|
||||||
|
#Wenn Rootdir nicht als Argument übergeben wurde, so wird root jetzt auf "/"
|
||||||
|
#gesetzt
|
||||||
|
#
|
||||||
|
#Revision 1.1.1.1 2001/08/14 18:55:19 kueller
|
||||||
|
#X11 Add Ons
|
||||||
|
#
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
sed -i -e "/\/usr\/X11\/lib/d" /etc/ld.so.conf
|
||||||
|
sed -i -e "/\/usr\/X11\/lib64/d" /etc/ld.so.conf
|
@ -45,17 +45,19 @@ case $# in
|
|||||||
KDEDIR=/opt/kde
|
KDEDIR=/opt/kde
|
||||||
export KDEDIR
|
export KDEDIR
|
||||||
touch $HOME/.kdelog
|
touch $HOME/.kdelog
|
||||||
/opt/kde/bin/startkde
|
exec dbus-launch --exit-with-session /opt/kde/bin/startkde
|
||||||
|
;;
|
||||||
|
kde4)
|
||||||
|
KDEDIR=/opt/kde
|
||||||
|
export KDEDIR
|
||||||
|
touch $HOME/.kdelog
|
||||||
|
exec dbus-launch --exit-with-session /opt/kde/bin/startkde
|
||||||
;;
|
;;
|
||||||
xfce)
|
xfce)
|
||||||
/opt/xfce/bin/xfwm
|
exec dbus-launch --exit-with-session /opt/xfce/bin/xfwm
|
||||||
;;
|
;;
|
||||||
WMaker)
|
icewm)
|
||||||
/opt/WindowMaker/bin/wmaker
|
exec dbus-launch --exit-with-session /opt/iceWM/bin/icewm-session
|
||||||
;;
|
|
||||||
Haze)
|
|
||||||
xscreensaver -no-splash -lock-mode &
|
|
||||||
/opt/Haze/bin/hazewm
|
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
startup=$HOME/.xsession
|
startup=$HOME/.xsession
|
Loading…
Reference in New Issue
Block a user