From 2e878658a02ca4651673cad2f41a57f27557d6dc Mon Sep 17 00:00:00 2001 From: Robert Schwebel Date: Fri, 20 Feb 2009 23:13:39 +0000 Subject: * init: introduce infrastructure for multiple init methods git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9802 33e552b5-05e3-0310-8538-816dae2090ed --- rules/samba.in | 30 +++++------------------------- 1 file changed, 5 insertions(+), 25 deletions(-) (limited to 'rules/samba.in') diff --git a/rules/samba.in b/rules/samba.in index 0df2a41ae..22ada7c7d 100644 --- a/rules/samba.in +++ b/rules/samba.in @@ -132,31 +132,6 @@ if SAMBA have to enable this. If you say n here. The samba server will generates his own secrets.tdb after initialisation. - config ROOTFS_ETC_INITD_SAMBA - bool - depends on SAMBA_SERVER - select BUSYBOX_START_STOP_DAEMON if BUSYBOX - default y - choice - prompt "Kind of samba start script" - depends on SAMBA - depends on SAMBA_SERVER - default ROOTFS_ETC_INITD_SAMBA_DEFAULT - - config ROOTFS_ETC_INITD_SAMBA_DEFAULT - bool - prompt "Use generic" - help - Installs a generic /etc/init.d/samba file. - - config ROOTFS_ETC_INITD_SAMBA_USER - bool - prompt "User defined" - help - This uses a user defined init file. Will use - the file out of projectroot/etc/init.d/samba - endchoice - config SAMBA_CLIENT bool select SAMBA_COMMON @@ -185,4 +160,9 @@ if SAMBA help Turn on CUPS support + config SAMBA_STARTSCRIPT + bool + default y + prompt "install /etc/init.d/samba" + endif -- cgit v1.2.3