Commit f5af11d8 authored by Adam Wujek's avatar Adam Wujek

userspace/etc/init.d: Don't start radiusvlan unless CONFIG_RVLAN_DAEMON=y

Don't start radiousvlan if CONFIG_RVLAN_DAEMON is not present in dot-config
Signed-off-by: 's avatarAdam Wujek <dev_public@wujek.eu>
parent b9e07c79
......@@ -9,9 +9,9 @@ start() {
echo "$0 unable to source dot-config ($dotconfig)!"
fi
if [ "$CONFIG_RVLAN_DAEMON" = "n" ]; then
if [ "$CONFIG_RVLAN_DAEMON" != "y" ]; then
echo "Radius-VLAN: disabled\n"
return
exit 0
fi
echo -n "Starting Radius-VLAN daemon: "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment