openwrt/package/base-files/files/etc/uci-defaults/13_fix-group-user

10 lines
178 B
Plaintext

. /lib/functions.sh
for file in `grep -sl Require-User /usr/lib/opkg/info/*.control`; do
file="${file##*/}"
file="${file%.control}"
add_group_and_user "${file}"
done
exit 0