openwrtv3/package/base-files/files/etc/uci-defaults/13_fix_group_user

12 lines
199 B
Text
Raw Normal View History

#!/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