#!/bin/bash #Samba Add On Script - dient zum Anlegen neuer Shares #von Windows Clients aus #(c) Rainmaker MultiMedia OHG # #$Author$ #$Date$ #$Revision$ # #$Log$ #Revision 1.1 2002/01/26 02:37:06 kueller #Neue Scripts - werden von der neuen smb.conf benötigt, und dienen zur #Unterstützung der NT-Server Tools # # configfile=$1 sharename=$2 pathname=$3 comment=$4 echo "" >>$configfile echo "[$sharename]" >>$configfile echo "comment = $comment" >>$configfile echo "path = $pathname" >>$configfile echo "writeable = yes" >>$configfile echo "printable = no" >>$configfile echo "create mask = 0770" >>$configfile