1 |
# $Id$ |
# $Id$ |
2 |
|
|
3 |
|
push_firstboot 80_fluxbox_menuitem |
4 |
|
|
5 |
push_config 80_fluxbox_menuitem |
push_config 80_fluxbox_menuitem |
6 |
push_config 80_fluxbox_autostart |
push_config 80_fluxbox_autostart |
7 |
|
|
200 |
control_client "${serial}" set fluxbox.theme "${value}" |
control_client "${serial}" set fluxbox.theme "${value}" |
201 |
fi |
fi |
202 |
} |
} |
203 |
|
|
204 |
|
push_firstboot_80_fluxbox_menuitem() |
205 |
|
{ |
206 |
|
local serial="$1" |
207 |
|
local ids |
208 |
|
|
209 |
|
ids=$(mysqldo "select id from cfg_fluxbox_menuitem where serial='${serial}';") |
210 |
|
if [[ -z ${ids} ]] || [[ ${ids} = NULL ]] |
211 |
|
then |
212 |
|
# create a empty menu, just delete all entries |
213 |
|
control_client "${serial}" set fluxbox.menuitem del |
214 |
|
fi |
215 |
|
} |