Reorganisation de tout le systéme de build + debuggage os loader au autre scripts
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
|
||||
//@ts-check
|
||||
const fs = require('fs')
|
||||
|
||||
function panic() {
|
||||
console.log("/!\\ INIT PANIK /!\\ LOSE CHIBRE")
|
||||
while(1) {}
|
||||
@@ -16,7 +17,11 @@ async function main() {
|
||||
await initd()
|
||||
|
||||
//chainload into sheebr
|
||||
await fHook("/usr/bin/sheebr.js")
|
||||
if(fs.existsSync("/usr/bin/sheebr.js")) {
|
||||
await fHook("/usr/bin/sheebr.js")
|
||||
} else {
|
||||
console.log('wrong shell path')
|
||||
}
|
||||
reboot.disableCtrlAltSupr()
|
||||
reboot.powerOff()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user