base-files: default_postinst() fix variable colision
authorJohn Crispin <john@openwrt.org>
Wed, 4 Feb 2015 06:10:06 +0000 (06:10 +0000)
committerJohn Crispin <john@openwrt.org>
Wed, 4 Feb 2015 06:10:06 +0000 (06:10 +0000)
commit5cd8a482f3108f4b81e143ded6d8bf7128c8608f
treede9c9078ed3b73a61f4eb28ecb5f3286daa6c0ec
parentee445d7cb2c0f5d9d59bc320a52e218a60df1265
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>
SVN-Revision: 44253
package/base-files/files/lib/functions.sh