summaryrefslogtreecommitdiffstats
path: root/rules/initmethod-bbinit.in
blob: 108ee0d2833d197fafb41d103f4778b38952475f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
## SECTION=initmethod

if INITMETHOD_BBINIT

config INITMETHOD_BBINIT_ETC_INITD_MODULES
	bool
	prompt "install /etc/init.d/modules"
	default y
	help
	  Look at /etc/modules and load all modules specified there.

config INITMETHOD_BBINIT_ETC_INITD_LOGROTATE
	bool
	prompt "install /etc/init.d/logrotate"
	default y
	help
	  The /etc/init.d/logrotate script is a minimal logrotator.

config INITMETHOD_BBINIT_ETC_INITD_NETWORKING
	bool
	default y
	prompt "install /etc/init.d/networking"
	select BUSYBOX_IFUPDOWN			if BUSYBOX
	select BUSYBOX_IFCONFIG			if BUSYBOX
	select BUSYBOX_FEATURE_IFUPDOWN_IP	if BUSYBOX
	help
	  When enabled, this option installs the generic /etc/init.d/networking
	  file. This script starts your network interfaces by calling 'ifup -a'.
	  To run this script you will need the shell commands 'grep',
	  'ifup'/'ifdown' and 'ifconfig'

config INITMETHOD_BBINIT_ETC_INITD_RT_SET_BANDWIDTH
	bool
	prompt "install /etc/init.d/rt-set-bandwidth"
	select ROOTFS_VAR
	select ROOTFS_VAR_RUN
	default y
	help
	  The /etc/init.d/rt-set-bandwidth script configures the bandwidth feature
	  of linux-rt. Default is to disable it.

menu "service startup configuration "

source "generated/initmethod_bbinit.in"

config INITMETHOD_BBINIT_LINK_LOGROTATE
	string
	depends on INITMETHOD_BBINIT_ETC_INITD_LOGROTATE
	prompt "logrotate"
	default "S98logrotate"

config INITMETHOD_BBINIT_LINK_MODULES
	string
	depends on INITMETHOD_BBINIT_ETC_INITD_MODULES
	prompt "modules"
	default "S98modules"

config INITMETHOD_BBINIT_LINK_NETWORKING
	string
	depends on INITMETHOD_BBINIT_ETC_INITD_NETWORKING
	prompt "networking"
	default "S26networking"

config INITMETHOD_BBINIT_LINK_RT_SET_BANDWIDTH
	string
	depends on INITMETHOD_BBINIT_ETC_INITD_RT_SET_BANDWIDTH
	prompt "rt-set-bandwidth"
	default "S03rt-set-bandwidth"

endmenu

endif