]> Pileus Git - mkinit/blob - init.mk
Update kexec rules
[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 hddtemp-opts  = -l 0.0.0.0 /dev/sda
9 hostname-opts = c
10 apache2-opts  = -DSSL -DPHP5
11
12 # Runlevels:
13 #   single─bare─system─┬─desktop─>
14 #                      └─server──>
15 server  = apache2 bitlbee cups denyhosts diod dovecot eth0 exim gitd jabberd mailman mysql ntpd spamd
16 desktop = alsa getty gpm keymap qingy wlan0
17 system  = at cron hddtemp hwclock mdadm smartd sshd swap sysctl syslog
18 bare    = cpufreq fsclean hostname initctl localhost mdev modules mounts utmp
19
20 default:V: desktop
21
22 server:V:  `{echo $server^-start                 $system^-start $bare^-start}
23 desktop:V: `{echo                $desktop^-start $system^-start $bare^-start}
24 system:V:  `{echo $server^-stop  $desktop^-stop  $system^-start $bare^-start}
25 bare:V:    `{echo $server^-stop  $desktop^-stop  $system^-stop  $bare^-start}
26 single:V:  `{echo $server^-stop  $desktop^-stop  $system^-stop  $bare^-stop }
27
28 # Include services
29 </etc/services.mk