source ../functions/main
source /etc/profile
-if [ "x${USER}" != "xroot" ]; then
- echo "You must be the superuser to install hvlinux."
- exit 1
-fi
-
+check_for_root_user
init_log_file
rscr mult "Performing pre-install" pre-install
BACKUP_LOGDIR="/var/log/backup"
LOGDIR_GLOBAL=/var/log
-LOGFILES_GLOBAL="auth.log clamd.log freshclam.log cron.log daemon.log kern.log mail.log procmail.log scrollkeeper.log sys.log user.log xdm.log XFree86.0.log"
+LOGFILES_GLOBAL="auth.log clamd.log freshclam.log cron.log daemon.log kern.log mail.log procmail.log scrollkeeper.log sys.log user.log xdm.log Xorg.0.log"
LOGDIR_APACHE=/var/log/apache
LOGFILES_APACHE="access_log error_log ssl_request_log"