aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/upas/common/config.c
blob: 21b34a12ebeef5ab2507e4e8e4bc8241d5430c8b (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 = 	"#9/mail/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);
}