From: Andy Spencer Date: Mon, 1 Nov 2010 02:26:51 +0000 (+0000) Subject: Forgot to add new init.mk X-Git-Url: http://pileus.org/git/?p=mkinit;a=commitdiff_plain;h=9dbffaa9fcf78a81968865e371abfb978a8b8168 Forgot to add new 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 +