ntp-server-package.py 231 B

123456789
  1. #!/usr/bin/python
  2. import os
  3. def postInstall(fromVersion, fromRelease, toVersion, toRelease):
  4. os.system("chown -R ntp:ntp /var/lib/ntp")
  5. os.system("chown -R root:ntp /etc/ntp/crypto")
  6. os.chmod("/etc/ntp/crypto", 0750)