tunblick/openvpnstart.m

changeset 6
fe330a707a9f
parent 1
1a5334dfb21d
equal deleted inserted replaced
0:0f10f2510448 1:22d1e0c45e3d
137 @"--cd", directoryPath, 137 @"--cd", directoryPath,
138 @"--daemon", 138 @"--daemon",
139 @"--management-hold", 139 @"--management-hold",
140 @"--management", @"127.0.0.1", [NSString stringWithFormat:@"%d", port], 140 @"--management", @"127.0.0.1", [NSString stringWithFormat:@"%d", port],
141 @"--config", configPath, 141 @"--config", configPath,
142 @"--script-security", @"2", // allow us to call the up and down scripts or scripts defined in config
143 nil 142 nil
144 ]; 143 ];
145 144
146 // conditionally push additional arguments to array 145 // conditionally push additional arguments to array
147 if(useScripts) { 146 if(useScripts) {

mercurial