post-install 364 B

12345678910111213141516
  1. # Set default zone info file, default points to 'UTC'
  2. if test -r etc/zoneinfo/UTC
  3. then
  4. if test -L etc/localtime -a ! -e etc/localtime
  5. then
  6. echo "etc/localtime is a dangling symlink, trying to recreate it" 1>&2
  7. ln -sf zoneinfo/UTC etc/localtime
  8. elif test ! -e etc/localtime
  9. then
  10. ln -s zoneinfo/UTC etc/localtime
  11. fi
  12. fi