slitaz-forge rev 249
tank: directly use real name
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 07 23:18:19 2012 +0200 (2012-04-07) |
parents | e47c51ce3436 |
children | d7b11dcad935 |
files | tank/files/etc/skel/Public/profile.php tank/tank |
line diff
1.1 --- a/tank/files/etc/skel/Public/profile.php Sat Apr 07 23:15:44 2012 +0200 1.2 +++ b/tank/files/etc/skel/Public/profile.php Sat Apr 07 23:18:19 2012 +0200 1.3 @@ -4,7 +4,7 @@ 1.4 // be located at ~/Public/profile.php. You must at least provide your real 1.5 // name and you can use the $wall variable for a personal message. 1.6 1.7 -$name = "Real Name"; 1.8 +$name = "%name%"; 1.9 $location = ""; 1.10 $scn_user = ""; 1.11 $skills = "";
2.1 --- a/tank/tank Sat Apr 07 23:15:44 2012 +0200 2.2 +++ b/tank/tank Sat Apr 07 23:18:19 2012 +0200 2.3 @@ -115,6 +115,7 @@ 2.4 #echo "$user:$passwd" >> /etc/lighttpd/plain.passwd 2.5 # Public dir at http://people.slitaz.org/~$user/ 2.6 sed -i s/'%user%'/"$user"/ /home/$user/Public/index.html 2.7 + sed -i s/'%name%'/"$gecos"/ /home/$user/Public/config.php 2.8 # Empty Shell profile 2.9 cat > /home/$user/.profile << EOF 2.10 # ~/.profile: Executed by Bourne-compatible login SHells.