Compare commits

...

No commits in common. "v963" and "v961" have entirely different histories.
v963 ... v961

4 changed files with 17 additions and 104 deletions

View File

@ -1,11 +0,0 @@
description "Samba Name Deamon"
author "Harald Kueller <harald.kueller@compuextreme.de>"
version 1.0
emits none special
start on (runlevel [2345] and (started ifup))
stop on runlevel [016]
console none
exec /opt/samba/sbin/nmbd -F

View File

@ -1,11 +0,0 @@
description "Samba file Deamon"
author "Harald Kueller <harald.kueller@compuextreme.de>"
version 1.0
emits none special
start on (runlevel [2345] and (started ifup))
stop on runlevel [016]
console none
exec /opt/samba/sbin/smbd -F

View File

@ -19,22 +19,20 @@
#
#
if [ -d /var/install/sysvinit* ]; then
WDIR=`pwd`
cd etc/init.d
chmod 755 samba
mkdir rc{0,1,2,3,4,5,6}.d
for i in 0 1 2 6; do
cd rc$i.d
ln -s ../samba K40samba
cd ..
done
for i in 3 4 5; do
cd rc$i.d
ln -s ../samba S60samba
cd ..
done
cd ../../opt/samba/scripts
chmod 755 *
cd $WDIR
fi
WDIR=`pwd`
cd etc/init.d
chmod 755 samba
mkdir rc{0,1,2,3,4,5,6}.d
for i in 0 1 2 6; do
cd rc$i.d
ln -s ../samba K40samba
cd ..
done
for i in 3 4 5; do
cd rc$i.d
ln -s ../samba S60samba
cd ..
done
cd ../../opt/samba/scripts
chmod 755 *
cd $WDIR

View File

@ -1,63 +0,0 @@
#!/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 für das samba packet. Es werden die gruppen winclient
#und admin angelegt.
#
#Aufrufparameter:
#keine
#
#Letzte Änderung von: $Author$
#Datum der letzten Änderung: $Date$
#Version der Datei: $Revision$
#
#$Log$
#Revision 1.5 2007/05/30 11:40:26 kueller
#Anpassung der GID fuer winclient und admin, sowie eintrag in ViitorMake/sysuserdb
#
#Revision 1.4 2006/10/20 09:05:10 kueller
#Anpassung an 32/64 Bit Viitor
#
#Revision 1.3 2006/05/18 09:14:06 kueller
#/opt/samba/lib wird nun in /etd/ld.so.conf eingetragen
#
#Revision 1.2 2002/10/09 08:47:56 kueller
#Einsatz des neuen GPL Monsum Projekt Headers.
#
#
#Revision 1.1 2002/01/26 02:47:50 kueller
#postinstall legt die von samba benötigten gruppen an
#
#
#/opt/samba/lib in ldconfig aufnehmen
sed -i -e "/\/opt\/samba\/lib/d" /etc/ld.so.conf
sed -i -e "/\/opt\/samba\/lib64/d" /etc/ld.so.conf
if getent group winclient &>/dev/null; then
/usr/sbin/groupdel admin
fi
if getent group winclient &>/dev/null; then
/usr/sbin/groupdel winclient
fi