From 9ea5979b0c2731604c0b2d519a929b5b920f9eb4 Mon Sep 17 00:00:00 2001 From: Max 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 index 47d338b..b67ecb9 100644 --- a/libs/startup.js +++ b/libs/startup.js @@ -29,19 +29,7 @@ module.exports = function(s,config,lang,io){ 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