wok-4.x rev 801
Up: slitaz-base-files (2.2)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 15 21:55:10 2008 +0200 (2008-05-15) |
parents | 7ad99a8f4fde |
children | f18e16373f51 |
files | slitaz-base-files/receipt |
line diff
1.1 --- a/slitaz-base-files/receipt Thu May 15 21:41:53 2008 +0200 1.2 +++ b/slitaz-base-files/receipt Thu May 15 21:55:10 2008 +0200 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="slitaz-base-files" 1.7 -VERSION="2.1" 1.8 +VERSION="2.2" 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 @@ -38,20 +38,20 @@ 1.13 $fs/var/log \ 1.14 $fs/var/run \ 1.15 $fs/var/spool \ 1.16 - $fs/var/tmp 1.17 - 1.18 + $fs/var/tmp 1.19 + 1.20 # Copy all rootfs from the stuff and set permissions. 1.21 cp -a $src/rootfs/* $fs 1.22 - 1.23 + 1.24 chown -R root.root $fs/* 1.25 chmod 1777 $fs/tmp 1.26 chmod 640 $fs/etc/shadow 1.27 chmod 640 $fs/etc/gshadow 1.28 chmod 0750 $fs/root 1.29 - 1.30 + 1.31 # Populate /dev with /$fs/sbin/mktazdevs.sh. 1.32 ./$fs/sbin/mktazdevs.sh $fs/dev 1.33 - 1.34 + 1.35 # Creat /etc/mtab symlink. 1.36 cd $fs/etc 1.37 ln -s /proc/mounts mtab 1.38 @@ -74,11 +74,11 @@ 1.39 echo "Restoring files from /etc/etc.bak..." 1.40 cp -a $root/tmp/etc.bak/* $root/etc 2>/dev/null 1.41 rm -rf $root/tmp/etc.bak 1.42 - 1.43 + 1.44 # Reset permission. 1.45 chmod 640 $root/etc/shadow 1.46 chmod 640 $root/etc/gshadow 1.47 - 1.48 + 1.49 if ! grep -q audio $root/etc/group; then 1.50 if [ -n "$root" ]; then 1.51 cp /etc/group $root/etc/group 1.52 @@ -86,7 +86,7 @@ 1.53 addgroup -g 20 audio 1.54 fi 1.55 fi 1.56 - 1.57 + 1.58 # daemons.conf (tftp + dnsd) 1.59 if ! grep -q ^TFTPD_OPTIONS $root/etc/daemons.conf; then 1.60 echo '# Tftp daemon options.' >> $root/etc/daemons.conf