Files
Linux.js---javascript-OS/rootfs overrides/etc/init.d/sample.js.example
T
2021-12-01 21:26:11 +01:00

13 lines
269 B
Plaintext

//async is optional but recomended for optimisation (optimisations are yet to be implemented)
async function init() {
//code to execute
}
const after = [] // list of init script to load before
const before = []
module.exports = {
init,
after,
before
}