aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/upas/common/config.c
blob: 8d1e7a0248cff4d9e99e4cc639bc6a7eccba9df1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#include "common.h"

char *_MAILROOT =	"#9/mail";
char *_UPASLOG =		"#9/sys/log";
char *_UPASLIB = 	"#9/mail/lib";
char *_UPASBIN=		"#9/bin/upas";
char *_UPASTMP = 	"/var/tmp";
char *_SHELL = 		"#9/bin/rc";
char *_POST =		"#9/sys/lib/post/dispatch";

int MBOXMODE = 0662;

void
upasconfig(void)
{
	static int did;
	
	if(did)
		return;
	did = 1;
	_MAILROOT = unsharp(_MAILROOT);
	_UPASLOG = unsharp(_UPASLOG);
	_UPASLIB = unsharp(_UPASLIB);
	_UPASBIN = unsharp(_UPASBIN);
	_SHELL = unsharp(_SHELL);
	_POST = unsharp(_POST);
}