1 2 3 4 5 6
#!/bin/sh if ! [ -e /etc/localtime ] && [ -e /etc/zoneinfo/localtime ]; then mv /etc/zoneinfo/localtime /etc/localtime fi