diff options
author | Gerald Carter <jerry@samba.org> | 2003-08-19 04:28:16 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-08-19 04:28:16 +0000 |
commit | 6283057f37d1aef24f5f41613587901c4eb94739 (patch) | |
tree | 725c068ad7578875614ed003a45b8d177e3ba570 /packaging/Caldera/UnixWare/pkg/postinstall | |
parent | 49e66508f271c5d548a045a1297652ed5b03494c (diff) | |
download | samba-6283057f37d1aef24f5f41613587901c4eb94739.tar.gz samba-6283057f37d1aef24f5f41613587901c4eb94739.tar.bz2 samba-6283057f37d1aef24f5f41613587901c4eb94739.zip |
no maintainer. Will be in the Attic if ever needed. No point
in claiming support for these packagaing files if we don't
even know if they build.
(This used to be commit b87357c11bf7cbaeb1b90aaf67c9b2ba64f65783)
Diffstat (limited to 'packaging/Caldera/UnixWare/pkg/postinstall')
-rwxr-xr-x | packaging/Caldera/UnixWare/pkg/postinstall | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/packaging/Caldera/UnixWare/pkg/postinstall b/packaging/Caldera/UnixWare/pkg/postinstall deleted file mode 100755 index 4e202ae354..0000000000 --- a/packaging/Caldera/UnixWare/pkg/postinstall +++ /dev/null @@ -1,56 +0,0 @@ -#!/bin/sh -# -# Create /var/spool/samba, setup swat to be run out of inetd on port 901, -# initialize the lmhosts file and create the codepage load files -# -# Written 10-Aug-1999 by Ronald Joe Record (rr@sco.com) -# - -SPOOL=/var/spool/samba -SVCS=/etc/services -INET=/etc/inetd.conf -PREFIX=/usr/local/samba -LMHOST=/etc/lmhosts - -[ -d $SPOOL ] || { - mkdir -p $SPOOL - chmod 1777 $SPOOL -} - -grep swat $SVCS > /dev/null || { - echo "swat 901/tcp # Samba Web Administration Tool " >> $SVCS -} - -grep swat $INET > /dev/null || { - echo "swat stream tcp nowait root /usr/local/samba/bin/swat swat " >> $INET -} - -if [ -f $LMHOST ] -then - grep localhost $LMHOST > /dev/null || { - echo 127.0.0.1 localhost >> $LMHOST - } -else - echo 127.0.0.1 localhost > $LMHOST -fi - -# -# Build codepage load files -# - -cd ${PREFIX}/lib/codepages -for i in 437 737 775 850 852 861 866 932 936 949 950 1251 -do - ${PREFIX}/bin/make_smbcodepage c $i \ - ${PREFIX}/lib/codepages/src/codepage_def.$i \ - ${PREFIX}/lib/codepages/codepage.$i -done -for i in 437 737 850 852 861 866 932 936 949 950 \ - ISO8859-1 ISO8859-2 ISO8859-5 ISO8859-7 KOI8-R -do - ${PREFIX}/bin/make_unicodemap $i \ - ${PREFIX}/lib/codepages/src/CP$i.TXT \ - ${PREFIX}/lib/codepages/unicode_map.$i -done - -kill -1 `ps -e | grep inetd | awk ' { print $1 } '` |