gluon-mesh-batman-adv-core: remove 'gluon.batman_adv' Lua module
It is not used anymore.
This commit is contained in:
		
							parent
							
								
									7f1c11cf7e
								
							
						
					
					
						commit
						f38bbf0d2c
					
				| @ -1,15 +0,0 @@ | |||||||
| local nixio = require 'nixio' |  | ||||||
| 
 |  | ||||||
| module 'gluon.batman_adv' |  | ||||||
| 
 |  | ||||||
| function interfaces(bat_if) |  | ||||||
|     local iter = nixio.fs.glob('/sys/class/net/' .. bat_if .. '/lower_*') |  | ||||||
|     return function() |  | ||||||
|             local path = iter() |  | ||||||
|             if path == nil then |  | ||||||
|                 return nil |  | ||||||
|             end |  | ||||||
|             local ifname = path:match('/lower_([^/]+)$') |  | ||||||
|             return ifname |  | ||||||
|         end |  | ||||||
| end |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user