tazlito diff tazlito @ rev 8
Add support for 'addgroup hacker audio' + fixe clean-distro
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Dec 03 12:30:15 2007 +0100 (2007-12-03) |
parents | 159c6264d500 |
children | 8f27e43358c0 |
line diff
1.1 --- a/tazlito Sat Dec 01 13:21:49 2007 +0100 1.2 +++ b/tazlito Mon Dec 03 12:30:15 2007 +0100 1.3 @@ -478,6 +478,7 @@ 1.4 if [ -d "$ROOTFS" ] ; then 1.5 echo -n "Removing the rootfs..." 1.6 rm -f $DISTRO/$INITRAMFS 1.7 + rm -f $DISTRO/$LZMA_INITRAMFS 1.8 rm -rf $ROOTFS && status 1.9 fi 1.10 if [ -d "$ROOTCD" ] ; then 1.11 @@ -514,6 +515,11 @@ 1.12 else 1.13 echo "Hacker is already in : $ROOTFS/etc/passwd" 1.14 fi 1.15 + # Hacker can listen to music 1.16 + # 1.17 + if grep -q audio $ROOTFS/etc/group; then 1.18 + sed -i s/'audio:x:20:'/'audio:x:20:hacker'/ $ROOTFS/etc/group 1.19 + fi 1.20 # /home/hacker files. 1.21 # 1.22 echo -n "Creating default directories... "