Compare commits
No commits in common. "v961" and "v963" have entirely different histories.
11
etc/init/nmbd.conf
Normal file
11
etc/init/nmbd.conf
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
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
|
11
etc/init/smbd.conf
Normal file
11
etc/init/smbd.conf
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
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
|
36
init/genpkg
36
init/genpkg
@ -19,20 +19,22 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
WDIR=`pwd`
|
if [ -d /var/install/sysvinit* ]; then
|
||||||
cd etc/init.d
|
WDIR=`pwd`
|
||||||
chmod 755 samba
|
cd etc/init.d
|
||||||
mkdir rc{0,1,2,3,4,5,6}.d
|
chmod 755 samba
|
||||||
for i in 0 1 2 6; do
|
mkdir rc{0,1,2,3,4,5,6}.d
|
||||||
cd rc$i.d
|
for i in 0 1 2 6; do
|
||||||
ln -s ../samba K40samba
|
cd rc$i.d
|
||||||
cd ..
|
ln -s ../samba K40samba
|
||||||
done
|
cd ..
|
||||||
for i in 3 4 5; do
|
done
|
||||||
cd rc$i.d
|
for i in 3 4 5; do
|
||||||
ln -s ../samba S60samba
|
cd rc$i.d
|
||||||
cd ..
|
ln -s ../samba S60samba
|
||||||
done
|
cd ..
|
||||||
cd ../../opt/samba/scripts
|
done
|
||||||
chmod 755 *
|
cd ../../opt/samba/scripts
|
||||||
cd $WDIR
|
chmod 755 *
|
||||||
|
cd $WDIR
|
||||||
|
fi
|
||||||
|
63
tmp/postremove
Normal file
63
tmp/postremove
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
#!/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
|
Loading…
Reference in New Issue
Block a user