Changeset 219 for debian/postinst
- Timestamp:
- 02/21/06 23:51:56 (7 years ago)
- File:
-
- 1 edited
-
debian/postinst (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
debian/postinst
r136 r219 60 60 # Now substitute it on the conf file ;) 61 61 cat /etc/alternc/alternc.conf | sed -e "s/^myip=.*/myip=$myip/" | sed -e "s/^fqdn=.*/fqdn=$fqdn/" | sed -e "s/^mx=.*/mx=$mx/" | sed -e "s/^DATA_PART=.*/DATA_PART=$DATA_PART/" | sed -e "s/^dbpwd=.*/dbpwd=$dbpwd/" | sed -e "s/^myrandom=.*/myrandom=$myrandom/" | sed -e "s/^ldap_userpwd=.*/ldap_userpwd=$ldap_userpwd/" | sed -e "s/^ldap_rootpwd=.*/ldap_rootpwd=$ldap_rootpwd/" >/etc/alternc/alternc.conf.new 62 rm/etc/alternc/alternc.conf63 mv /etc/alternc/alternc.conf.new /etc/alternc/alternc.conf62 cp /etc/alternc/alternc.conf.new /etc/alternc/alternc.conf 63 rm /etc/alternc/alternc.conf.new 64 64 fi 65 65
Note: See TracChangeset
for help on using the changeset viewer.
