startup.sh 535 B

12345678910111213
  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/crontabs /etc/periodic/15min /etc/periodic/hourly /etc/periodic/daily /etc/periodic/weekly /etc/periodic/monthly
  6. find /etc/crontabs/ -exec touch {} \;
  7. find /etc/periodic/15min/ -exec touch {} \;
  8. find /etc/periodic/hourly/ -exec touch {} \;
  9. find /etc/periodic/daily/ -exec touch {} \;
  10. find /etc/periodic/weekly/ -exec touch {} \;
  11. find /etc/periodic/monthly/ -exec touch {} \;