aboutsummaryrefslogtreecommitdiffstats
path: root/testing/yadifa/yadifa.post-install
blob: 7b614a60ae0689d089174b8feda08a93876c8eaf (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
sed -i -e "s/daemon.*/daemon\ton/" /etc/yadifa/yadifad.conf  >&2
sed -i -e "s/logpath.*/logpath\t\t\"\/var\/log\/yadifa\"/" /etc/yadifa/yadifad.conf  >&2
sed -i -e "s/pidpath.*/pidpath\t\t\"\/var\/run\"/" /etc/yadifa/yadifad.conf  >&2
sed -i -e "s/chroot.*/chroot\ton/" /etc/yadifa/yadifad.conf  >&2
sed -i -e "s/uid.*/uid\tyadifa/" /etc/yadifa/yadifad.conf >&2
sed -i -e "s/gid.*/gid\tyadifa/" /etc/yadifa/yadifad.conf  >&2
exit 0