]> Pileus Git - mkinit/blob - init.mk
Update default config
[mkinit] / init.mk
1 # Copyright (C) 2009-2011 Andy Spencer
2 # See COPYING for terms
3
4 # Config
5 MKSHELL=/opt/plan9/bin/rc
6 NPROC=10
7
8 hostname-opts = c
9 apache2-opts  = -DSSL -DPHP5
10
11 # Runlevels:
12 #   single─bare─system─┬─desktop─>
13 #                      └─server──>
14 server  = apache2 bitlbee dhcp dovecot exim gitd mysql ntpd spamd
15 desktop = alsa cups dbus getty qingy keymap polipo
16 system  = at cron hddtemp hwclock mdev sshd swap syslog
17 bare    = cpufreq fsclean hostname initctl localhost modules mounts uevents utmp
18
19 default:V: desktop
20
21 server:V:  `{echo $server^-start                 $system^-start $bare^-start}
22 desktop:V: `{echo                $desktop^-start $system^-start $bare^-start}
23 system:V:  `{echo $server^-stop  $desktop^-stop  $system^-start $bare^-start}
24 bare:V:    `{echo $server^-stop  $desktop^-stop  $system^-stop  $bare^-start}
25 single:V:  `{echo $server^-stop  $desktop^-stop  $system^-stop  $bare^-stop }
26
27 # Include services
28 </scratch/lug/mkinit/init.mk