1 2 3 4 5
#!/bin/sh if grep -q '^NTPD_HOME=' /etc/conf.d/ntpd 2>/dev/null; then mv /etc/conf.d/ntpd /etc/conf.d/openntpd fi