#!/bin/sh echo -n "Copying FOX ENV..."; env | grep -E "^FOX_" > /etc/security/pam_env.conf echo "OK" find /etc/fox-start.d -maxdepth 1 -type f -exec {} \; echo "Starting cron:" service cron start echo "Starting apache:" bash -c "source /etc/apache2/envvars && exec /usr/sbin/apache2 -DFOREGROUND"