diff --git a/etc/init/dbus.conf b/etc/init/dbus.conf new file mode 100755 index 0000000..0b68b4a --- /dev/null +++ b/etc/init/dbus.conf @@ -0,0 +1,24 @@ +description "Startup autofs System for local configuration files" +author "Harald Kueller " +version 1.0 +emits none special + +start on (runlevel [2345] and (started mountfs)) +stop on runlevel [S016] + +console output + +post-start script + dbus-uuidgen --ensure +end script + +script + export PATH=$PATH:/usr/X11R7/bin + /usr/bin/dbus-daemon --system --nofork +end script + +post-stop script + if [ -f /var/run/dbus/pid ]; then + rm /var/run/dbus/pid + fi +end script diff --git a/init/genpkg b/init/genpkg new file mode 100644 index 0000000..660b4c5 --- /dev/null +++ b/init/genpkg @@ -0,0 +1,65 @@ +#!/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