]> andersk Git - moira.git/commitdiff
added states for going to sleep, and motd file path
authormar <mar>
Tue, 27 Jun 1989 16:04:40 +0000 (16:04 +0000)
committermar <mar>
Tue, 27 Jun 1989 16:04:40 +0000 (16:04 +0000)
server/mr_server.h

index 0ea58582bad0f89bd02ee14750ed3150bcfc6132..3ded5827f855ca214573e262643c2b6031e8ddf2 100644 (file)
@@ -90,3 +90,13 @@ extern int newqueries, oldqueries;
 /* Maximum and minimum values that will ever be chosen for IDs */
 #define MAX_ID_VALUE   32765
 #define MIN_ID_VALUE   100
+
+/* Sleepy states for the server! */
+#define AWAKE 0
+#define SLEEPY 1
+#define ASLEEP 2
+#define GROGGY 3
+extern int dormant;
+
+/* If the motd file exists, the server will go to sleep. */
+#define SMS_MOTD_FILE "/etc/smsdown"
This page took 0.073084 seconds and 5 git commands to generate.