#!/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 qpopper package. Es wird ein Eintrag in /etc/inetd.conf #erzeugt. # #Aufrufparameter: #keine # #Letzte Änderung von: $Author$ #Datum der letzten Änderung: $Date$ #Version der Datei: $Revision$ # #$Log$ #Revision 1.7 2007/04/29 11:04:25 kueller #smmsp group muss gid 23 bekommen # #Revision 1.6 2006/06/08 13:50:04 kueller #inetd.conf eintrag nur wenn file existiert. /etc/xinetd.d/pop3 fuer #xinetd eingebaut # #Revision 1.5 2002/10/09 08:45:41 kueller #Einsatz des neuen GPL Monsum Projekt Headers. # # if [ -f /etc/inetd.conf ]; then if ! grep popper /etc/inetd.conf >/dev/null 2>&1; then echo "pop3 stream tcp nowait root /usr/sbin/popper" >>/etc/inetd.conf fi fi if ! getent group smmsp 2>&1 >/dev/null; then groupadd -g 23 smmsp fi chown root:smmsp /var/mail chmod 775 /var/mail chown root:smmsp /usr/sbin/popper chmod 2755 /usr/sbin/popper