Copy rc.d files in during bootstrap.
This commit is contained in:
parent
00dae4c839
commit
cce10e6f5c
1 changed files with 6 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue