Changeset 2945 in /cluster/svnroot


Ignore:
Timestamp:
Jan 24, 2011 2:46:50 PM (10 years ago)
Author:
leemasa
Message:

Edited bccd-mail to use sed rather than overwrite entire file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bccd-ng/branches/sam-test_fw/packages/etc/init.d/bccd-mail

    r2589 r2945  
    1010### END INIT INFO
    1111
    12 echo "dc_eximconfig_configtype='internet'
    13 dc_other_hostnames='BCCD'
    14 dc_local_interfaces=''
    15 dc_readhost=''
    16 dc_relay_domains=''
    17 dc_minimaldns='false'
    18 dc_relay_nets=''
    19 dc_smarthost=''
    20 CFILEMODE='644'
    21 dc_use_split_config='false'
    22 dc_hide_mailname=''
    23 dc_mailname_in_oh='true'
    24 dc_localdelivery='mail_spool'" > /etc/exim4/update-exim4.conf.conf
     12sed -i  \
     13"s/dc_eximconfig_configtype='*.'/dc_eximconfig_configtype='internet'/;
     14 s/dc_other_hostnames='.*'/dc_other_hostnames='BCCD'/"\
     15 /etc/exim4/update-exim4.conf.conf
    2516
    2617update-exim4.conf
Note: See TracChangeset for help on using the changeset viewer.