summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-04-01 17:53:00 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-04-01 17:53:00 +0800
commit6b2927ba9497b6bbd0e739f3f29e15637c8dbdd7 (patch)
treeea1520c9edd68442414ba167bd5ad540b2dba8b2
parent908230bddb577e25ff873e7c0060aba2eca19f1e (diff)
downloadpttbbs-6b2927ba9497b6bbd0e739f3f29e15637c8dbdd7.tar
pttbbs-6b2927ba9497b6bbd0e739f3f29e15637c8dbdd7.tar.gz
pttbbs-6b2927ba9497b6bbd0e739f3f29e15637c8dbdd7.tar.bz2
pttbbs-6b2927ba9497b6bbd0e739f3f29e15637c8dbdd7.tar.lz
pttbbs-6b2927ba9497b6bbd0e739f3f29e15637c8dbdd7.tar.xz
pttbbs-6b2927ba9497b6bbd0e739f3f29e15637c8dbdd7.tar.zst
pttbbs-6b2927ba9497b6bbd0e739f3f29e15637c8dbdd7.zip
mv util/LocalVars.pm.sample sample/LocalVars.pm
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@762 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--sample/LocalVars.pm24
1 files changed, 24 insertions, 0 deletions
diff --git a/sample/LocalVars.pm b/sample/LocalVars.pm
new file mode 100644
index 00000000..1f24872d
--- /dev/null
+++ b/sample/LocalVars.pm
@@ -0,0 +1,24 @@
+#!/usr/bin/perl
+package LocalVars;
+require Exporter;
+@ISA = qw/Exporter/;
+@EXPORT = qw/
+ $hostname $MYHOSTNAME $FQDN $SMTPSERVER
+ $BBSHOME $JOBSPOOL $TMP
+ $TAR $LYNX $GREP/;
+
+# host
+$hostname = 'ptt';
+$MYHOSTNAME = 'ptt.cc';
+$FQDN = 'ptt.csie.ntu.edu.tw';
+$SMTPSERVER = 'ptt2.csie.ntu.edu.tw';
+
+# dir
+$BBSHOME = '/home/bbs';
+$JOBSPOOL = "$BBSHOME/jobspool";
+$TMP = '/tmp';
+
+# program
+$TAR = '/usr/bin/tar';
+$LYNX = '/usr/local/bin/lynx'; # /usr/ports/www/lynx
+$GREP = '/usr/bin/grep';