install.sh 400 B

1234567891011121314
  1. #!/bin/sh -e
  2. chmod 600 /etc/crontab
  3. # Fix https://github.com/phusion/baseimage-docker/issues/345
  4. sed -i 's/^\s*session\s\+required\s\+pam_loginuid.so/# &/' /etc/pam.d/cron
  5. ## Remove useless cron entries.
  6. # Checks for lost+found and scans for mtab.
  7. rm -f /etc/cron.daily/standard
  8. rm -f /etc/cron.daily/upstart
  9. rm -f /etc/cron.daily/dpkg
  10. rm -f /etc/cron.daily/password
  11. rm -f /etc/cron.weekly/fstrim