wok diff slitaz-base-files/receipt @ rev 607

Up: slitaz-base-files (2.0) - New daemons config, adduser.conf and more devices node
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 18 16:29:28 2008 +0200 (2008-04-18)
parents 6a757a6b0c83
children aae4d14184d9
line diff
     1.1 --- a/slitaz-base-files/receipt	Sat Mar 22 17:14:29 2008 +0100
     1.2 +++ b/slitaz-base-files/receipt	Fri Apr 18 16:29:28 2008 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="slitaz-base-files"
     1.7 -VERSION="1.5"
     1.8 +VERSION="2.0"
     1.9  CATEGORY="base-system"
    1.10  SHORT_DESC="Linux tree and the necessary files for the base system."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -47,6 +47,7 @@
    1.13  	chmod 1777 $fs/tmp
    1.14  	chmod 640 $fs/etc/shadow
    1.15  	chmod 640 $fs/etc/gshadow
    1.16 +	chmod 0750 $fs/root
    1.17  	
    1.18  	# Populate /dev with /$fs/sbin/mktazdevs.sh.
    1.19  	./$fs/sbin/mktazdevs.sh $fs/dev
    1.20 @@ -85,5 +86,17 @@
    1.21  			addgroup -g 20 audio
    1.22  		fi
    1.23  	fi
    1.24 +	
    1.25 +	# daemons.conf (tftp + dnsd)
    1.26 +	if ! grep -q ^TFTPD_OPTIONS $root/etc/daemons.conf; then
    1.27 +		echo '# Tftp daemon options.' >> $root/etc/daemons.conf
    1.28 +		echo 'TFTPD_OPTIONS="-r /boot"' >> $root/etc/daemons.conf
    1.29 +		echo '' >> $root/etc/daemons.conf
    1.30 +	fi
    1.31 +	if ! grep -q ^DNSD_OPTIONS $root/etc/daemons.conf; then
    1.32 +		echo '# Domain name server options.' >> $root/etc/daemons.conf
    1.33 +		echo 'DNSD_OPTIONS="-d"' >> $root/etc/daemons.conf
    1.34 +		echo '' >> $root/etc/daemons.conf
    1.35 +	fi
    1.36  }
    1.37  SELF_INSTALL=1