summaryrefslogtreecommitdiffstats
path: root/rules/initmethod-bbinit.in
blob: 0d1af16ff10ebc16591b6190b3638637b601e95e (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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
## SECTION=initmethod

if INITMETHOD_BBINIT

config INITMETHOD_BBINIT_ETC_INITD_BANNER
	bool
	default y
	depends on FIGLET
	prompt "install /etc/init.d/banner"
	help
	  This Option adds a specific vendor string to
	  the script which displays a nifty ptxdist
	   _
	  | |__   __ _ _ __  _ __   ___ _ __
	  | '_ \ / _` | '_ \| '_ \ / _ \ '__|
	  | |_) | (_| | | | | | | |  __/ |
	  |_.__/ \__,_|_| |_|_| |_|\___|_|
	  page with the hostname and other stuff at
	  startup.

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_BANNER
	string
	depends on INITMETHOD_BBINIT_ETC_INITD_BANNER
	prompt "banner"
	default "S99banner"

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