]> Pileus Git - mkinit/commitdiff
Forgot to add new init.mk
authorAndy Spencer <andy753421@gmail.com>
Mon, 1 Nov 2010 02:26:51 +0000 (02:26 +0000)
committerAndy Spencer <andy753421@gmail.com>
Mon, 1 Nov 2010 02:26:51 +0000 (02:26 +0000)
init.mk [new file with mode: 0644]

diff --git a/init.mk b/init.mk
new file mode 100644 (file)
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
+</scratch/lug/mkinit/init.mk