# HG changeset patch # User Christophe Lincoln # Date 1208528968 -7200 # Node ID 0ae3a5e4f21a03912a3c82113bc914a4f83b09da # Parent 156e8a22653ba0d272d1f8f057b35f5d99898b84 Up: slitaz-base-files (2.0) - New daemons config, adduser.conf and more devices node diff -r 156e8a22653b -r 0ae3a5e4f21a slitaz-base-files/receipt --- a/slitaz-base-files/receipt Fri Apr 18 01:30:33 2008 +0200 +++ b/slitaz-base-files/receipt Fri Apr 18 16:29:28 2008 +0200 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="slitaz-base-files" -VERSION="1.5" +VERSION="2.0" CATEGORY="base-system" SHORT_DESC="Linux tree and the necessary files for the base system." MAINTAINER="pankso@slitaz.org" @@ -47,6 +47,7 @@ chmod 1777 $fs/tmp chmod 640 $fs/etc/shadow chmod 640 $fs/etc/gshadow + chmod 0750 $fs/root # Populate /dev with /$fs/sbin/mktazdevs.sh. ./$fs/sbin/mktazdevs.sh $fs/dev @@ -85,5 +86,17 @@ addgroup -g 20 audio fi fi + + # daemons.conf (tftp + dnsd) + if ! grep -q ^TFTPD_OPTIONS $root/etc/daemons.conf; then + echo '# Tftp daemon options.' >> $root/etc/daemons.conf + echo 'TFTPD_OPTIONS="-r /boot"' >> $root/etc/daemons.conf + echo '' >> $root/etc/daemons.conf + fi + if ! grep -q ^DNSD_OPTIONS $root/etc/daemons.conf; then + echo '# Domain name server options.' >> $root/etc/daemons.conf + echo 'DNSD_OPTIONS="-d"' >> $root/etc/daemons.conf + echo '' >> $root/etc/daemons.conf + fi } SELF_INSTALL=1