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

ln -s /var/www/htdocs/BackupPC/index.cgi /var/www/cgi-bin/BackupPC_Admin &>/dev/null