From 9dbffaa9fcf78a81968865e371abfb978a8b8168 Mon Sep 17 00:00:00 2001 From: Andy Spencer Date: Mon, 1 Nov 2010 02:26:51 +0000 Subject: [PATCH] Forgot to add new init.mk --- init.mk | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 init.mk diff --git a/init.mk b/init.mk new file mode 100644 index 0000000..81c1487 --- /dev/null +++ b/init.mk @@ -0,0 +1,28 @@ +# Copyright (C) 2009-2010 Andy Spencer +# See COPYING for terms + +# Config +MKSHELL=/usr/lib/plan9/bin/rc +NPROC=10 + +hostname-opts = c +apache2-opts = -DSSL -DPHP5 + +# Runlevels: +# single─bare─system─┬─desktop─> +# └─server──> +server = apache2 courier dhcp mysql spamd tor +desktop = alsa cups dbus getty qingy keymap polipo +system = at cron hddtemp hwclock sshd swap syslog +bare = cpufreq fsclean hostname initctl localhost modules mounts uevents utmp + +default:V: desktop + +server:V: `{echo $server^-start $system^-start $bare^-start} +desktop:V: `{echo $desktop^-start $system^-start $bare^-start} +system:V: `{echo $server^-stop $desktop^-stop $system^-start $bare^-start} +bare:V: `{echo $server^-stop $desktop^-stop $system^-stop $bare^-start} +single:V: `{echo $server^-stop $desktop^-stop $system^-stop $bare^-stop } + +# Include services +