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

12 lines
189 B
Bash

#!/bin/sh
. /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