wok-6.x diff slitaz-boot-scripts/receipt @ rev 915
Remove shfs (replaced by sshfs-fuse)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jun 15 20:17:40 2008 +0000 (2008-06-15) |
parents | 3b4b2eef45ff |
children | 6602df876b72 |
line diff
1.1 --- a/slitaz-boot-scripts/receipt Fri May 16 01:13:08 2008 +0200 1.2 +++ b/slitaz-boot-scripts/receipt Sun Jun 15 20:17:40 2008 +0000 1.3 @@ -68,5 +68,12 @@ 1.4 1.5 EOT 1.6 fi 1.7 + # From 2.3 default user have uid=1000 (standard), so change hacker 1.8 + # id/group and chown. 1.9 + if grep -q "500:500" $root/etc/passwd; then 1.10 + sed -i s/'500:500'/'1000:1000'/ $root/etc/passwd 1.11 + sed -i s/'500'/'1000'/ $root/etc/group 1.12 + chown -R 1000.1000 $root/home/hacker 1.13 + fi 1.14 } 1.15