manman-sync: fix some stuff
This commit is contained in:
		
							parent
							
								
									a7c8b3a8d8
								
							
						
					
					
						commit
						e7c4ee890b
					
				| @ -368,12 +368,12 @@ local function enable_sync(location, node) | ||||
| 
 | ||||
|   if location then | ||||
|     printf('Config location %s', location) | ||||
|     uci:set('gluon-manman-sync', 'sync', location) | ||||
|     uci:set('gluon-manman-sync', 'sync', 'location', location) | ||||
|   end | ||||
| 
 | ||||
|   if node then | ||||
|     printf('Config node %s', node) | ||||
|     uci:set('gluon-manman-sync', 'sync', node) | ||||
|     uci:set('gluon-manman-sync', 'sync', 'node', node) | ||||
|   end | ||||
| 
 | ||||
|   if not uci:get_bool('gluon-manman-sync', 'sync', 'enabled') then | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user