92fd6f3f4f
git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_samba@4433 504e572c-2e33-0410-9681-be2bf7408885
68 lines
2.1 KiB
Bash
68 lines
2.1 KiB
Bash
#!/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
|
|
LIBINST=`grep "/opt/samba/lib" /etc/ld.so.conf`
|
|
if [ ! "$LIBINST" ]; then
|
|
echo "/opt/samba/lib" >>/etc/ld.so.conf
|
|
if [ -d /opt/samba/lib64 ]; then
|
|
echo "/opt/samba/lib64" >>/etc/ld.so.conf
|
|
fi
|
|
fi
|
|
|
|
if ! getent group winclient &>/dev/null; then
|
|
/usr/sbin/groupadd -g 31 winclient
|
|
fi
|
|
if ! getent group winclient &>/dev/null; then
|
|
/usr/sbin/groupadd -g 32 admin
|
|
fi
|