mirror of
https://github.com/Ylianst/MeshAgent
synced 2026-01-02 00:23:17 +00:00
Updated installer to better support ChromeOS
This commit is contained in:
@@ -2279,7 +2279,14 @@ function serviceManager()
|
||||
case 'BOOT_START':
|
||||
case 'SYSTEM_START':
|
||||
case 'AUTO_START':
|
||||
conf.write('start on runlevel [2345]\n');
|
||||
if (require('os').Name.startsWith('CHROMEOS_'))
|
||||
{
|
||||
conf.write('start on started system-services\n');
|
||||
}
|
||||
else
|
||||
{
|
||||
conf.write('start on runlevel [2345]\n');
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user