]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - configure
Fix some minor bugs in the Module Manager.
[user/henk/code/inspircd.git] / configure
index 6f65519abe8d1b2da3ab61572e4392c396ba04a0..ca2e2f19ba6a2596a430077de263aff6ccced1df 100755 (executable)
--- a/configure
+++ b/configure
@@ -221,6 +221,15 @@ $config{UID}  = $user[2];
 # Clear the screen.
 system 'tput', 'clear' if $interactive;
 
+# Warn the user about clock drifting when running on OpenVZ.
+if (-e '/proc/user_beancounters' || -e '/proc/vz/vzaquota') {
+       print_warning <<'EOW';
+You are building InspIRCd inside of an an OpenVZ container. If you
+plan to use InspIRCd in this container then you should make sure that NTP is
+configured on the Hardware Node. Failure to do so may result in clock drifting!
+EOW
+}
+
 # Check that the user actually wants this version.
 if ($version{LABEL} ne 'release') {
        print_warning <<'EOW';