summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sample/crontab2
-rw-r--r--util/initbbs.c7
2 files changed, 8 insertions, 1 deletions
diff --git a/sample/crontab b/sample/crontab
index 876451c8..3734c470 100644
--- a/sample/crontab
+++ b/sample/crontab
@@ -97,7 +97,7 @@
30 3 * * * bin/dailybackup.pl
# 每日砍除 ALLPOST
-30 5 * * * /bin/rm boards/A/ALLPOST; mkdir boards/A/ALLPOST
+30 5 * * * /bin/rm boards/A/ALLPOST boards/A/ALLHIDPOST; mkdir boards/A/ALLPOST boards/A/ALLHIDPOST
# for safty
9 * * * * bin/shmctl bBMC
diff --git a/util/initbbs.c b/util/initbbs.c
index 0e8c4549..9073d247 100644
--- a/util/initbbs.c
+++ b/util/initbbs.c
@@ -182,6 +182,13 @@ static void initBoards() {
b.level = 0;
b.gid = 5;
newboard(fp, &b);
+
+ strcpy(b.brdname, "ALLHIDPOST");
+ strcpy(b.title, "嘰哩 ◎跨板式LOCAL新文章(隱板)");
+ b.brdattr = BRD_POSTMASK | BRD_HIDE;
+ b.level = PERM_SYSOP;
+ b.gid = 5;
+ newboard(fp, &b);
#ifdef GLOBAL_DIGEST
strcpy(b.brdname, GLOBAL_DIGEST);