]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/installer/dracut-module/70-dhcpcd.exe
installer: Set the clock correctly when installing over network
[people/pmueller/ipfire-2.x.git] / src / installer / dracut-module / 70-dhcpcd.exe
index 660f269410ce135467e5e98c55b73fe67053d35d..d801c8adad101b4f42f27c95ecc87ea5a02d4762 100755 (executable)
@@ -46,6 +46,9 @@ case "${reason}" in
 
                # Create system configuration files
                make_resolvconf
+
+               # Set time
+               ntpdate "ntp.ipfire.org"
                ;;
 
        EXPIRE|FAIL|IPV4LL|NAK|NOCARRIER|RELEASE|STOP)