base-files: default_postinst() fix variable colision
authorJohn Crispin <blogic@openwrt.org>
Wed, 4 Feb 2015 06:10:06 +0000 (06:10 +0000)
committerJohn Crispin <blogic@openwrt.org>
Wed, 4 Feb 2015 06:10:06 +0000 (06:10 +0000)
commit60552298d7e17b697be7057cc4bff33526204f69
treee48261ac04ffcb1209f5bcae214d815001fe7f54
parente17c34de65be1422e22e391ad1a15d02835a684d
base-files: default_postinst() fix variable colision

The name variable contains at first the package name,
and after the last group name.
This patch fixes /etc/rc.d symlink creation (at least).

Change name in pkgname, change the other name in ugname
(user group name), and id in ugid (user group id)

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44253 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/base-files/files/lib/functions.sh