16 lines
389 B
JavaScript
16 lines
389 B
JavaScript
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
|
|
}
|
|
|