summaryrefslogtreecommitdiff
path: root/app-misc/livecd-tools/files/autoconf-baselayout-2.patch
blob: 0a3f3b67d7ab7d3c90e025e20ad0c381807148d6 (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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
--- livecd-tools-1.0.40/autoconfig.orig	2008-05-29 06:17:17.000000000 +0200
+++ livecd-tools-1.0.40/autoconfig	2008-11-28 18:36:10.000000000 +0100
@@ -361,7 +361,7 @@
 
 	if [ "${BRLTTY}" = "yes" ]
 	then
-		[ -x /etc/init.d/brltty ] && start_service brltty
+		[ -x /etc/init.d/brltty ] && /etc/init.d/brltty start
 	fi
 
 	if [ "${DETECT}" = "yes" ]
@@ -416,10 +416,10 @@
 		# just let udev do it all.
 		if [ -x /etc/init.d/coldplug ]
 		then
-			start_service coldplug
+			/etc/init.d/coldplug start
 		elif [ -x /etc/init.d/hotplug ]
 		then
-			start_service hotplug
+			/etc/init.d/hotplug start
 		else
 			unpack_firmware
 			[ -x /sbin/udevtrigger ] && /sbin/udevtrigger
@@ -434,7 +434,7 @@
 	then
 		modprobe apm power_off=1 >/dev/null 2>&1 && \
 			einfo "APM BIOS found, power management functions enabled ..."
-		[ -x /etc/init.d/apmd ] && start_service apmd
+		[ -x /etc/init.d/apmd ] && /etc/init.d/apmd start
 	else
 		einfo "Not Loading APM Bios support ..."
 	fi
@@ -451,7 +451,7 @@
 		modprobe thermal >/dev/null 2>&1
 		modprobe video >/dev/null 2>&1
 		modprobe dock >/dev/null 2>&1
-		[ -x /etc/init.d/acpid ] && start_service acpid
+		[ -x /etc/init.d/acpid ] && /etc/init.d/acpid start
 		eend
 	else
 		einfo "Not Loading ACPI support ..."
@@ -459,14 +459,14 @@
 
 	if [ "${IDEDMA}" = "yes" ]
 	then
-		[ -x /etc/init.d/hdparm ] && start_service hdparm
+		[ -x /etc/init.d/hdparm ] && /etc/init.d/hdparm start
 	else
 		ewarn "Disabling IDE DMA support ..."
 	fi
 
 	if [ "${PCMCIA}" = "yes" ]
 	then
-		[ -x /etc/init.d/pcmcia ] && start_service pcmcia
+		[ -x /etc/init.d/pcmcia ] && /etc/init.d/pcmcia start
 	else
 		ewarn "PCMCIA disabled via cmdline ..."
 	fi
@@ -509,7 +509,7 @@
 			fi
 
 			[ "${GPM}" = "yes" ] \
-				&& [ -x /etc/init.d/gpm ] && start_service gpm
+				&& [ -x /etc/init.d/gpm ] && /etc/init.d/gpm start
 		fi
 	fi
 
@@ -537,14 +537,14 @@
 		done
 		if [ "${NFS}" = "yes" ]
 		then
-			[ -x /etc/init.d/portmap ] && start_service portmap
-			[ -x /etc/init.d/nfsmount ] && start_service nfsmount
+			[ -x /etc/init.d/portmap ] && /etc/init.d/portmap start
+			[ -x /etc/init.d/nfsmount ] && /etc/init.d/nfsmount start
 		fi
 		if [ "${PASSWD}" = "no" ]
 		then
 			echo "root:${PASSWORD}" | chpasswd  > /dev/null 2>&1
 		else
-			start_service pwgen
+			/etc/init.d/pwgen start
 		fi
 		if [ "${SSHD}" = "yes" ]
 		then
@@ -555,7 +555,7 @@
 				ewarn "WARNING: You are starting sshd with a scrambled root password!!!"
 				ewarn "WARNING: You need to set a root password to be able to login remotely."
 			fi
-			[ -x /etc/init.d/sshd ] && start_service sshd
+			[ -x /etc/init.d/sshd ] && /etc/init.d/sshd start
 		fi
 	else
 		ewarn "No Network device auto detected ..."
@@ -576,7 +576,7 @@
 
 			if [ -x /etc/init.d/alsasound ]
 			then
-				start_service alsasound
+				/etc/init.d/alsasound start
 			fi
 
 			if [ -e /proc/asound/cards ]
@@ -615,11 +615,11 @@
 	then
 		if [ -x /etc/init.d/mkxf86config ]
 		then
-			start_service mkxf86config
+			/etc/init.d/mkxf86config start
 		fi
 		if [ -x /etc/init.d/x-setup ]
 		then
-			start_service x-setup
+			/etc/init.d/x-setup start
 		fi
 	else
 		touch /etc/init.d/.noxdm