base-files: fix group/user settings after sysupgrade

Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin 2016-04-29 03:30:52 +02:00
parent ed07ef1601
commit 4a8e960c62

View file

@ -0,0 +1,11 @@
#!/bin/sh
. /lib/functions.sh
for file in `grep Require-User /usr/lib/opkg/info/*.control | cut -d: -f1`; do
file="${file##*/}"
file="${file%.control}"
add_group_and_user "${file}"
done
exit 0