2022-03-18 00:35:45 +02:00
|
|
|
From a2a0608c4844520b0660bdf48b5376ed0a42e7af Mon Sep 17 00:00:00 2001
|
2022-03-17 21:50:30 +02:00
|
|
|
From: Max <max@privatevoid.net>
|
|
|
|
Date: Tue, 15 Mar 2022 18:51:47 +0100
|
|
|
|
Subject: [PATCH 7/9] remove terminalCommands
|
|
|
|
|
|
|
|
---
|
|
|
|
libs/startup.js | 14 +-------------
|
|
|
|
1 file changed, 1 insertion(+), 13 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/libs/startup.js b/libs/startup.js
|
2022-03-18 00:35:45 +02:00
|
|
|
index b1c8e56..247eeee 100644
|
2022-03-17 21:50:30 +02:00
|
|
|
--- a/libs/startup.js
|
|
|
|
+++ b/libs/startup.js
|
2022-03-18 00:35:45 +02:00
|
|
|
@@ -32,19 +32,7 @@ module.exports = function(s,config,lang,io){
|
2022-03-17 21:50:30 +02:00
|
|
|
var next = function(){
|
|
|
|
if(callback)callback()
|
|
|
|
}
|
|
|
|
- if(!s.isWin && s.packageJson.mainDirectory !== '.'){
|
|
|
|
- var etcPath = '/etc/shinobisystems/cctv.txt'
|
|
|
|
- fs.stat(etcPath,function(err,stat){
|
|
|
|
- if(err || !stat){
|
|
|
|
- exec('node '+ s.mainDirectory + '/INSTALL/terminalCommands.js',function(err){
|
|
|
|
- if(err)console.log(err)
|
|
|
|
- })
|
|
|
|
- }
|
|
|
|
- next()
|
|
|
|
- })
|
|
|
|
- }else{
|
|
|
|
- next()
|
|
|
|
- }
|
|
|
|
+ next()
|
|
|
|
}
|
|
|
|
var loadedAccounts = []
|
|
|
|
var foundMonitors = []
|
|
|
|
--
|
|
|
|
2.35.1
|
|
|
|
|