support de l'alumage des interface reseau
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
const ip = require('../../chibrax/ip')
|
||||
//async is optional but recomended for optimisation (optimisations are yet to be implemented)
|
||||
async function init() {
|
||||
ip.setFlags('lo', ip.flags.IFF_UP | ip.flags.IFF_LOOPBACK | ip.flags.IFF_RUNNING)
|
||||
}
|
||||
|
||||
const after = ['filesystem.js'] // list of init script to load before
|
||||
const before = []
|
||||
|
||||
module.exports = {
|
||||
init,
|
||||
after,
|
||||
before
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user