#!/bin/sh

CONFIG_PATH="${UCI_CONFIG_DIR:-"/etc/config"}"

CFG="$CONFIG_PATH/profiles"

[ -e "$CFG" ] || exit 0

chmod 644 "$CFG"
chown profiler:profiler "$CFG"

exit 0
