diff --git a/bootstrap b/bootstrap index 68df6fd..c2d17cc 100755 --- a/bootstrap +++ b/bootstrap @@ -19,7 +19,7 @@ update-ca-certificates echo "-> Changing root's crontab..." cat root.crontab >/var/spool/cron/crontabs/root -# Install the /etc files (which includes crontabs). +# Install the /etc files, which includes crontabs (permissions corrected below). echo "-> Copying base files into /etc..." ( cd base-files IFS=$'\n' @@ -30,6 +30,11 @@ echo "-> Copying base files into /etc..." cat "$file" >"/etc/$file" done ) +# Copy in the rc.d files (permissions corrected below) +echo "-> Copying base rc.d files into /etc/rc.d..." +cp rc.d/rc.local rc.d/rc.modules.local rc.d/rc.firewall rc.d/rc.local_shutdown /etc/rc.d/ +echo "----> Generic blocking rc.firewall installed - change it if required." + # Restart crond for new configurations. echo "-> Restarting crond..." /etc/rc.d/rc.crond restart