menu: fix declaring of variables from a cfg when setting via Init.d