r2553 - trunk/bootscripts

dj at linuxfromscratch.org dj at linuxfromscratch.org
Tue Aug 3 18:58:39 PDT 2004


Author: dj
Date: 2004-08-03 19:58:37 -0600 (Tue, 03 Aug 2004)
New Revision: 2553

Modified:
   trunk/bootscripts/Makefile
   trunk/bootscripts/README
Log:
Added 'MODE' variable for installed permissions

Modified: trunk/bootscripts/Makefile
===================================================================
--- trunk/bootscripts/Makefile	2004-08-04 01:50:39 UTC (rev 2552)
+++ trunk/bootscripts/Makefile	2004-08-04 01:58:37 UTC (rev 2553)
@@ -1,5 +1,6 @@
 ETCDIR=/etc
 EXTDIR=${DESTDIR}${ETCDIR}
+MODE=754
 
 # The grep can probably be improved upon.
 all:
@@ -15,19 +16,19 @@
 	install -d -m 755 ${EXTDIR}/sysconfig/network-devices/services
 
 install-service-dhclient: create-service-dir
-	install -m 754 blfs/sysconfig/network-devices/services/dhclient ${EXTDIR}/sysconfig/network-devices/services
+	install -m ${MODE} blfs/sysconfig/network-devices/services/dhclient ${EXTDIR}/sysconfig/network-devices/services
 
 install-service-dhcpcd: create-service-dir
-	install -m 754 blfs/sysconfig/network-devices/services/dhcpcd   ${EXTDIR}/sysconfig/network-devices/services
+	install -m ${MODE} blfs/sysconfig/network-devices/services/dhcpcd   ${EXTDIR}/sysconfig/network-devices/services
 
 install-service-ipx: create-service-dir
-	install -m 754 blfs/sysconfig/network-devices/services/ipx      ${EXTDIR}/sysconfig/network-devices/services
+	install -m ${MODE} blfs/sysconfig/network-devices/services/ipx      ${EXTDIR}/sysconfig/network-devices/services
 
 install-service-pppoe: create-service-dir
-	install -m 754 blfs/sysconfig/network-devices/services/pppoe    ${EXTDIR}/sysconfig/network-devices/services
+	install -m ${MODE} blfs/sysconfig/network-devices/services/pppoe    ${EXTDIR}/sysconfig/network-devices/services
 
 install-alsa: create-dirs
-	install -m 754 blfs/init.d/alsa       ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} blfs/init.d/alsa       ${EXTDIR}/rc.d/init.d/
 	ln -sf  ../init.d/alsa ${EXTDIR}/rc.d/rc0.d/K35alsa
 	ln -sf  ../init.d/alsa ${EXTDIR}/rc.d/rc1.d/K35alsa
 	ln -sf  ../init.d/alsa ${EXTDIR}/rc.d/rc2.d/S40alsa
@@ -37,7 +38,7 @@
 	ln -sf  ../init.d/alsa ${EXTDIR}/rc.d/rc6.d/K35alsa
 
 install-apache: create-dirs
-	install -m 754 blfs/init.d/apache     ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} blfs/init.d/apache     ${EXTDIR}/rc.d/init.d/
 	ln -sf  ../init.d/apache ${EXTDIR}/rc.d/rc0.d/K28apache
 	ln -sf  ../init.d/apache ${EXTDIR}/rc.d/rc1.d/K28apache
 	ln -sf  ../init.d/apache ${EXTDIR}/rc.d/rc2.d/K28apache
@@ -47,7 +48,7 @@
 	ln -sf  ../init.d/apache ${EXTDIR}/rc.d/rc6.d/K28apache
 
 install-bind: create-dirs
-	install -m 754 blfs/init.d/bind       ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} blfs/init.d/bind       ${EXTDIR}/rc.d/init.d/
 	ln -sf  ../init.d/bind ${EXTDIR}/rc.d/rc0.d/K49bind
 	ln -sf  ../init.d/bind ${EXTDIR}/rc.d/rc1.d/K49bind
 	ln -sf  ../init.d/bind ${EXTDIR}/rc.d/rc2.d/K49bind
@@ -57,7 +58,7 @@
 	ln -sf  ../init.d/bind ${EXTDIR}/rc.d/rc6.d/K49bind
 
 install-cups: create-dirs
-	install -m 754 blfs/init.d/cups       ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} blfs/init.d/cups       ${EXTDIR}/rc.d/init.d/
 	ln -sf  ../init.d/cups ${EXTDIR}/rc.d/rc0.d/K00cups
 	ln -sf  ../init.d/cups ${EXTDIR}/rc.d/rc1.d/K00cups
 	ln -sf  ../init.d/cups ${EXTDIR}/rc.d/rc2.d/S99cups
@@ -67,7 +68,7 @@
 	ln -sf  ../init.d/cups ${EXTDIR}/rc.d/rc6.d/K00cups
 
 install-dhcp: create-dirs
-	install -m 754 blfs/init.d/dhcp       ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} blfs/init.d/dhcp       ${EXTDIR}/rc.d/init.d/
 	ln -sf  ../init.d/dhcp ${EXTDIR}/rc.d/rc0.d/K30dhcp
 	ln -sf  ../init.d/dhcp ${EXTDIR}/rc.d/rc1.d/K30dhcp
 	ln -sf  ../init.d/dhcp ${EXTDIR}/rc.d/rc2.d/K30dhcp
@@ -77,7 +78,7 @@
 	ln -sf  ../init.d/dhcp ${EXTDIR}/rc.d/rc6.d/K30dhcp
 
 install-exim: create-dirs
-	install -m 754 blfs/init.d/exim       ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} blfs/init.d/exim       ${EXTDIR}/rc.d/init.d/
 	ln -sf  ../init.d/exim ${EXTDIR}/rc.d/rc0.d/K25exim
 	ln -sf  ../init.d/exim ${EXTDIR}/rc.d/rc1.d/K25exim
 	ln -sf  ../init.d/exim ${EXTDIR}/rc.d/rc2.d/K25exim
@@ -87,7 +88,7 @@
 	ln -sf  ../init.d/exim ${EXTDIR}/rc.d/rc6.d/K25exim
 
 install-fam: create-dirs
-	install -m 754 blfs/init.d/fam      ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} blfs/init.d/fam      ${EXTDIR}/rc.d/init.d/
 	ln -sf  ../init.d/fam ${EXTDIR}/rc.d/rc0.d/K37fam
 	ln -sf  ../init.d/fam ${EXTDIR}/rc.d/rc1.d/K37fam
 	ln -sf  ../init.d/fam ${EXTDIR}/rc.d/rc2.d/S23fam
@@ -97,7 +98,7 @@
 	ln -sf  ../init.d/fam ${EXTDIR}/rc.d/rc6.d/K39fam
 
 install-fcron: create-dirs
-	install -m 754 blfs/init.d/fcron      ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} blfs/init.d/fcron      ${EXTDIR}/rc.d/init.d/
 	ln -sf  ../init.d/fcron ${EXTDIR}/rc.d/rc0.d/K08fcron
 	ln -sf  ../init.d/fcron ${EXTDIR}/rc.d/rc1.d/K08fcron
 	ln -sf  ../init.d/fcron ${EXTDIR}/rc.d/rc2.d/S40fcron
@@ -107,7 +108,7 @@
 	ln -sf  ../init.d/fcron ${EXTDIR}/rc.d/rc6.d/K08fcron
 
 install-gdm: create-dirs
-	install -m 754 blfs/init.d/gdm        ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} blfs/init.d/gdm        ${EXTDIR}/rc.d/init.d/
 	ln -sf  ../init.d/gdm ${EXTDIR}/rc.d/rc0.d/K05gdm
 	ln -sf  ../init.d/gdm ${EXTDIR}/rc.d/rc1.d/K05gdm
 	ln -sf  ../init.d/gdm ${EXTDIR}/rc.d/rc2.d/K05gdm
@@ -117,7 +118,7 @@
 	ln -sf  ../init.d/gdm ${EXTDIR}/rc.d/rc6.d/K05gdm
 
 install-gpm: create-dirs
-	install -m 754 blfs/init.d/gpm        ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} blfs/init.d/gpm        ${EXTDIR}/rc.d/init.d/
 	ln -sf  ../init.d/gpm ${EXTDIR}/rc.d/rc0.d/K10gpm
 	ln -sf  ../init.d/gpm ${EXTDIR}/rc.d/rc1.d/K10gpm
 	ln -sf  ../init.d/gpm ${EXTDIR}/rc.d/rc2.d/K10gpm
@@ -127,7 +128,7 @@
 	ln -sf  ../init.d/gpm ${EXTDIR}/rc.d/rc6.d/K10gpm
 
 install-heimdal: create-dirs
-	install -m 754 blfs/init.d/heimdal        ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} blfs/init.d/heimdal        ${EXTDIR}/rc.d/init.d/
 	ln -sf  ../init.d/heimdal ${EXTDIR}/rc.d/rc0.d/K42heimdal
 	ln -sf  ../init.d/heimdal ${EXTDIR}/rc.d/rc1.d/K42heimdal
 	ln -sf  ../init.d/heimdal ${EXTDIR}/rc.d/rc2.d/K42heimdal
@@ -137,7 +138,7 @@
 	ln -sf  ../init.d/heimdal ${EXTDIR}/rc.d/rc6.d/K42heimdal
 
 install-kerberos: create-dirs
-	install -m 754 blfs/init.d/kerberos ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} blfs/init.d/kerberos ${EXTDIR}/rc.d/init.d/
 	ln -sf ../init.d/kerberos ${EXTDIR}/rc.d/rc0.d/K42kerberos
 	ln -sf ../init.d/kerberos ${EXTDIR}/rc.d/rc1.d/K42kerberos
 	ln -sf ../init.d/kerberos ${EXTDIR}/rc.d/rc2.d/K42kerberos
@@ -147,7 +148,7 @@
 	ln -sf ../init.d/kerberos ${EXTDIR}/rc.d/rc6.d/K42kerberos
 
 install-lisa: create-dirs
-	install -m 754 blfs/init.d/lisa       ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} blfs/init.d/lisa       ${EXTDIR}/rc.d/init.d/
 	ln -sf  ../init.d/lisa ${EXTDIR}/rc.d/rc0.d/K35lisa
 	ln -sf  ../init.d/lisa ${EXTDIR}/rc.d/rc1.d/K35lisa
 	ln -sf  ../init.d/lisa ${EXTDIR}/rc.d/rc2.d/K35lisa
@@ -157,7 +158,7 @@
 	ln -sf  ../init.d/lisa ${EXTDIR}/rc.d/rc6.d/K35lisa
 
 install-lprng: create-dirs
-	install -m 754 blfs/init.d/lprng      ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} blfs/init.d/lprng      ${EXTDIR}/rc.d/init.d/
 	ln -sf  ../init.d/lprng ${EXTDIR}/rc.d/rc0.d/K00lprng
 	ln -sf  ../init.d/lprng ${EXTDIR}/rc.d/rc1.d/K00lprng
 	ln -sf  ../init.d/lprng ${EXTDIR}/rc.d/rc2.d/S99lprng
@@ -167,7 +168,7 @@
 	ln -sf  ../init.d/lprng ${EXTDIR}/rc.d/rc6.d/K00lprng
 
 install-mysql: create-dirs
-	install -m 754 blfs/init.d/mysql      ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} blfs/init.d/mysql      ${EXTDIR}/rc.d/init.d/
 	ln -sf  ../init.d/mysql ${EXTDIR}/rc.d/rc0.d/K26mysql
 	ln -sf  ../init.d/mysql ${EXTDIR}/rc.d/rc1.d/K26mysql
 	ln -sf  ../init.d/mysql ${EXTDIR}/rc.d/rc2.d/K26mysql
@@ -177,7 +178,7 @@
 	ln -sf  ../init.d/mysql ${EXTDIR}/rc.d/rc6.d/K26mysql
 
 install-nas: create-dirs
-	install -m 754 blfs/init.d/nas        ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} blfs/init.d/nas        ${EXTDIR}/rc.d/init.d/
 	ln -sf  ../init.d/nas ${EXTDIR}/rc.d/rc0.d/K35nas
 	ln -sf  ../init.d/nas ${EXTDIR}/rc.d/rc1.d/K35nas
 	ln -sf  ../init.d/nas ${EXTDIR}/rc.d/rc2.d/K35nas
@@ -187,7 +188,7 @@
 	ln -sf  ../init.d/nas ${EXTDIR}/rc.d/rc6.d/K35nas
 
 install-netfs: create-dirs
-	install -m 754 blfs/init.d/netfs      ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} blfs/init.d/netfs      ${EXTDIR}/rc.d/init.d/
 	ln -sf  ../init.d/netfs ${EXTDIR}/rc.d/rc0.d/K47netfs
 	ln -sf  ../init.d/netfs ${EXTDIR}/rc.d/rc1.d/K47netfs
 	ln -sf  ../init.d/netfs ${EXTDIR}/rc.d/rc2.d/K47netfs
@@ -197,7 +198,7 @@
 	ln -sf  ../init.d/netfs ${EXTDIR}/rc.d/rc6.d/K47netfs
 
 install-nfs-client: create-dirs
-	install -m 754 blfs/init.d/nfs-client ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} blfs/init.d/nfs-client ${EXTDIR}/rc.d/init.d/
 	ln -sf  ../init.d/nfs-client ${EXTDIR}/rc.d/rc0.d/K48nfs-client
 	ln -sf  ../init.d/nfs-client ${EXTDIR}/rc.d/rc1.d/K48nfs-client
 	ln -sf  ../init.d/nfs-client ${EXTDIR}/rc.d/rc2.d/K48nfs-client
@@ -207,7 +208,7 @@
 	ln -sf  ../init.d/nfs-client ${EXTDIR}/rc.d/rc6.d/K48nfs-client
 
 install-nfs-server: create-dirs
-	install -m 754 blfs/init.d/nfs-server ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} blfs/init.d/nfs-server ${EXTDIR}/rc.d/init.d/
 	ln -sf  ../init.d/nfs-server ${EXTDIR}/rc.d/rc0.d/K48nfs-server
 	ln -sf  ../init.d/nfs-server ${EXTDIR}/rc.d/rc1.d/K48nfs-server
 	ln -sf  ../init.d/nfs-server ${EXTDIR}/rc.d/rc2.d/K48nfs-server
@@ -217,7 +218,7 @@
 	ln -sf  ../init.d/nfs-server ${EXTDIR}/rc.d/rc6.d/K48nfs-server
 
 install-ntp: create-dirs
-	install -m 754 blfs/init.d/ntp        ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} blfs/init.d/ntp        ${EXTDIR}/rc.d/init.d/
 	ln -sf  ../init.d/ntp ${EXTDIR}/rc.d/rc0.d/K46ntp
 	ln -sf  ../init.d/ntp ${EXTDIR}/rc.d/rc1.d/K46ntp
 	ln -sf  ../init.d/ntp ${EXTDIR}/rc.d/rc2.d/K46ntp
@@ -227,7 +228,7 @@
 	ln -sf  ../init.d/ntp ${EXTDIR}/rc.d/rc6.d/K46ntp
 
 install-portmap: create-dirs
-	install -m 754 blfs/init.d/portmap    ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} blfs/init.d/portmap    ${EXTDIR}/rc.d/init.d/
 	ln -sf  ../init.d/portmap ${EXTDIR}/rc.d/rc0.d/K49portmap
 	ln -sf  ../init.d/portmap ${EXTDIR}/rc.d/rc1.d/K49portmap
 	ln -sf  ../init.d/portmap ${EXTDIR}/rc.d/rc2.d/K49portmap
@@ -237,7 +238,7 @@
 	ln -sf  ../init.d/portmap ${EXTDIR}/rc.d/rc6.d/K49portmap
 
 install-postfix: create-dirs
-	install -m 754 blfs/init.d/postfix    ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} blfs/init.d/postfix    ${EXTDIR}/rc.d/init.d/
 	ln -sf  ../init.d/postfix ${EXTDIR}/rc.d/rc0.d/K25postfix
 	ln -sf  ../init.d/postfix ${EXTDIR}/rc.d/rc1.d/K25postfix
 	ln -sf  ../init.d/postfix ${EXTDIR}/rc.d/rc2.d/K25postfix
@@ -247,7 +248,7 @@
 	ln -sf  ../init.d/postfix ${EXTDIR}/rc.d/rc6.d/K25postfix
 
 install-postgresql: create-dirs
-	install -m 754 blfs/init.d/postgresql ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} blfs/init.d/postgresql ${EXTDIR}/rc.d/init.d/
 	ln -sf  ../init.d/postgresql ${EXTDIR}/rc.d/rc0.d/K26postgresql
 	ln -sf  ../init.d/postgresql ${EXTDIR}/rc.d/rc1.d/K26postgresql
 	ln -sf  ../init.d/postgresql ${EXTDIR}/rc.d/rc2.d/K26postgresql
@@ -257,7 +258,7 @@
 	ln -sf  ../init.d/postgresql ${EXTDIR}/rc.d/rc6.d/K26postgresql
 
 install-proftpd: create-dirs
-	install -m 754 blfs/init.d/proftpd    ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} blfs/init.d/proftpd    ${EXTDIR}/rc.d/init.d/
 	ln -sf  ../init.d/proftpd ${EXTDIR}/rc.d/rc0.d/K28proftpd
 	ln -sf  ../init.d/proftpd ${EXTDIR}/rc.d/rc1.d/K28proftpd
 	ln -sf  ../init.d/proftpd ${EXTDIR}/rc.d/rc2.d/K28proftpd
@@ -267,7 +268,7 @@
 	ln -sf  ../init.d/proftpd ${EXTDIR}/rc.d/rc6.d/K28proftpd
 
 install-random: create-dirs
-	install -m 754 blfs/init.d/random     ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} blfs/init.d/random     ${EXTDIR}/rc.d/init.d/
 	ln -sf  ../init.d/random ${EXTDIR}/rc.d/rc0.d/K45random
 	ln -sf  ../init.d/random ${EXTDIR}/rc.d/rc1.d/S25random
 	ln -sf  ../init.d/random ${EXTDIR}/rc.d/rc2.d/S25random
@@ -277,7 +278,7 @@
 	ln -sf  ../init.d/random ${EXTDIR}/rc.d/rc6.d/K45random
 
 install-rsyncd: create-dirs
-	install -m 754 blfs/init.d/rsyncd     ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} blfs/init.d/rsyncd     ${EXTDIR}/rc.d/init.d/
 	ln -sf  ../init.d/rsyncd ${EXTDIR}/rc.d/rc0.d/K30rsyncd
 	ln -sf  ../init.d/rsyncd ${EXTDIR}/rc.d/rc1.d/K30rsyncd
 	ln -sf  ../init.d/rsyncd ${EXTDIR}/rc.d/rc2.d/K30rsyncd
@@ -287,7 +288,7 @@
 	ln -sf  ../init.d/rsyncd ${EXTDIR}/rc.d/rc6.d/K30rsyncd
 
 install-samba: create-dirs
-	install -m 754 blfs/init.d/samba      ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} blfs/init.d/samba      ${EXTDIR}/rc.d/init.d/
 	ln -sf  ../init.d/samba ${EXTDIR}/rc.d/rc0.d/K48samba
 	ln -sf  ../init.d/samba ${EXTDIR}/rc.d/rc1.d/K48samba
 	ln -sf  ../init.d/samba ${EXTDIR}/rc.d/rc2.d/K48samba
@@ -297,7 +298,7 @@
 	ln -sf  ../init.d/samba ${EXTDIR}/rc.d/rc6.d/K48samba
 
 install-sendmail: create-dirs
-	install -m 754 blfs/init.d/sendmail   ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} blfs/init.d/sendmail   ${EXTDIR}/rc.d/init.d/
 	ln -sf  ../init.d/sendmail ${EXTDIR}/rc.d/rc0.d/K25sendmail
 	ln -sf  ../init.d/sendmail ${EXTDIR}/rc.d/rc1.d/K25sendmail
 	ln -sf  ../init.d/sendmail ${EXTDIR}/rc.d/rc2.d/K25sendmail
@@ -307,7 +308,7 @@
 	ln -sf  ../init.d/sendmail ${EXTDIR}/rc.d/rc6.d/K25sendmail
 
 install-sshd: create-dirs
-	install -m 754 blfs/init.d/sshd       ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} blfs/init.d/sshd       ${EXTDIR}/rc.d/init.d/
 	ln -sf  ../init.d/sshd ${EXTDIR}/rc.d/rc0.d/K30sshd
 	ln -sf  ../init.d/sshd ${EXTDIR}/rc.d/rc1.d/K30sshd
 	ln -sf  ../init.d/sshd ${EXTDIR}/rc.d/rc2.d/K30sshd
@@ -317,7 +318,7 @@
 	ln -sf  ../init.d/sshd ${EXTDIR}/rc.d/rc6.d/K30sshd
 
 install-svn: create-dirs
-	install -m 754 blfs/init.d/svn        ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} blfs/init.d/svn        ${EXTDIR}/rc.d/init.d/
 	ln -sf ../init.d/svn ${EXTDIR}/rc.d/rc0.d/K27svn
 	ln -sf ../init.d/svn ${EXTDIR}/rc.d/rc1.d/K27svn
 	ln -sf ../init.d/svn ${EXTDIR}/rc.d/rc2.d/K27svn
@@ -327,15 +328,15 @@
 	ln -sf ../init.d/svn ${EXTDIR}/rc.d/rc6.d/K27svn
 
 install-sysstat: create-dirs
-	install -m 754 blfs/init.d/sysstat    ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} blfs/init.d/sysstat    ${EXTDIR}/rc.d/init.d/
 	ln -sf ../init.d/sysstat ${EXTDIR}/rc.d/rcsysinit.d/S85sysstat
 
 install-usb: create-dirs
-	install -m 754 blfs/init.d/usb        ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} blfs/init.d/usb        ${EXTDIR}/rc.d/init.d/
 	ln -sf ../init.d/usb ${EXTDIR}/rc.d/rcsysinit.d/S90usb
 
 install-vsftpd: create-dirs
-	install -m 754 blfs/init.d/vsftpd     ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} blfs/init.d/vsftpd     ${EXTDIR}/rc.d/init.d/
 	ln -sf ../init.d/vsftpd ${EXTDIR}/rc.d/rc0.d/K28vsftpd
 	ln -sf ../init.d/vsftpd ${EXTDIR}/rc.d/rc1.d/K28vsftpd
 	ln -sf ../init.d/vsftpd ${EXTDIR}/rc.d/rc2.d/K28vsftpd
@@ -345,7 +346,7 @@
 	ln -sf ../init.d/vsftpd ${EXTDIR}/rc.d/rc6.d/K28vsftpd
 
 install-winbind: create-dirs
-	install -m 754 blfs/init.d/winbind    ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} blfs/init.d/winbind    ${EXTDIR}/rc.d/init.d/
 	ln -sf ../init.d/winbind ${EXTDIR}/rc.d/rc0.d/K49winbind
 	ln -sf ../init.d/winbind ${EXTDIR}/rc.d/rc1.d/K49winbind
 	ln -sf ../init.d/winbind ${EXTDIR}/rc.d/rc2.d/K49winbind
@@ -355,7 +356,7 @@
 	ln -sf ../init.d/winbind ${EXTDIR}/rc.d/rc6.d/K49winbind
 
 install-xinetd: create-dirs
-	install -m 754 blfs/init.d/xinetd     ${EXTDIR}/rc.d/init.d/
+	install -m ${MODE} blfs/init.d/xinetd     ${EXTDIR}/rc.d/init.d/
 	ln -sf  ../init.d/xinetd ${EXTDIR}/rc.d/rc0.d/K49xinetd
 	ln -sf  ../init.d/xinetd ${EXTDIR}/rc.d/rc1.d/K49xinetd
 	ln -sf  ../init.d/xinetd ${EXTDIR}/rc.d/rc2.d/K49xinetd

Modified: trunk/bootscripts/README
===================================================================
--- trunk/bootscripts/README	2004-08-04 01:50:39 UTC (rev 2552)
+++ trunk/bootscripts/README	2004-08-04 01:58:37 UTC (rev 2553)
@@ -6,7 +6,9 @@
 lfs-bootscripts package. See the <lfs-bootscripts.version> file
 for compatibility information.
 
-The various install targets are mentioned in the book. For
+The various install targets are mentioned in the book. There are
+variables for install mode (MODE) and destdir {EXTDIR}.  For
 more information refer to the BLFS BOOK at
 	http://www.linuxfromscratch.org/blfs/
 
+




More information about the blfs-book mailing list