startup.sh 448 B

123456789101112
  1. #!/bin/sh -e
  2. log-helper level eq trace && set -x
  3. # prevent NUMBER OF HARD LINKS > 1 error
  4. # https://github.com/phusion/baseimage-docker/issues/198
  5. touch /etc/crontab /etc/cron.d /etc/cron.daily /etc/cron.hourly /etc/cron.monthly /etc/cron.weekly
  6. find /etc/cron.d/ -exec touch {} \;
  7. find /etc/cron.daily/ -exec touch {} \;
  8. find /etc/cron.hourly/ -exec touch {} \;
  9. find /etc/cron.monthly/ -exec touch {} \;
  10. find /etc/cron.weekly/ -exec touch {} \;