aboutsummaryrefslogtreecommitdiffstats
path: root/main/backuppc/backuppc.post-install
blob: abbfeb40d6e733ff3334049dab140d534f121544 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
for dir in /etc /var/log /var/lib
do
  chown -R backuppc.backuppc ${dir}/BackupPC &>/dev/null
done

chmod 774 /usr/lib/BackupPC/bin/* &>/dev/null
ln -s /var/www/htdocs/BackupPC/index.cgi /var/www/cgi-bin/BackupPC_Admin &>/dev/null