summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-02-26 05:39:18 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-02-26 05:39:18 +0800
commitb1d550d1029d14abe5655aa69fa9b4afd52df65a (patch)
tree215a40c63bea194c9eafb7dbee66de89218717e8 /util
parent0e55fb49a34b0549d6ec76afc0bd5e4fd9a39196 (diff)
downloadpttbbs-b1d550d1029d14abe5655aa69fa9b4afd52df65a.tar
pttbbs-b1d550d1029d14abe5655aa69fa9b4afd52df65a.tar.gz
pttbbs-b1d550d1029d14abe5655aa69fa9b4afd52df65a.tar.bz2
pttbbs-b1d550d1029d14abe5655aa69fa9b4afd52df65a.tar.lz
pttbbs-b1d550d1029d14abe5655aa69fa9b4afd52df65a.tar.xz
pttbbs-b1d550d1029d14abe5655aa69fa9b4afd52df65a.tar.zst
pttbbs-b1d550d1029d14abe5655aa69fa9b4afd52df65a.zip
run timed just after attach_SHM()
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2552 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util')
-rw-r--r--util/shmctl.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/util/shmctl.c b/util/shmctl.c
index afe60293..a0a99da3 100644
--- a/util/shmctl.c
+++ b/util/shmctl.c
@@ -743,6 +743,11 @@ int SHMinit(int argc, char **argv)
attach_SHM();
+#ifdef OUTTA_TIMER
+ puts("timed...");
+ timed(1, NULL);
+#endif
+
puts("loading bcache...");
reload_bcache();
@@ -759,11 +764,6 @@ int SHMinit(int argc, char **argv)
utmpsortd(1, NULL);
}
-#ifdef OUTTA_TIMER
- puts("timed...");
- timed(1, NULL);
-#endif
-
#ifdef NOKILLWATERBALL
puts("nkwbd...");
nkwbd(1, argv);