initd: update string comparison

This commit is contained in:
Jakob Olsson 2018-10-05 09:20:08 +02:00
parent cc46c0c1e3
commit 49bdb20677

View file

@ -11,7 +11,7 @@ start_service() {
config_get enable ubusproxy enable
procd_set_param command "/sbin/topologyd"
if [ "$enable" ]
if [ "$enable" == "1" ]
then
procd_append_param command --root
fi