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)
commiteb06726224be95955725a6eaa42d0ca2db6f0db4
treee48261ac04ffcb1209f5bcae214d815001fe7f54
parent4ae9fe75513f03469b3b13ee411fd568bb642aee
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