Commit 6b2ec824 authored by Franco Fichtner's avatar Franco Fichtner

config: strip superfluous setting of _relayd user/group

parent 35900425
......@@ -923,14 +923,11 @@ function upgrade_045_to_046() {
}
}
}
if(count($config['load_balancer']) == 0) {
if (count($config['load_balancer']) == 0) {
unset($config['load_balancer']);
}
mwexec('/usr/sbin/pw groupadd -n _relayd -g 913');
mwexec('/usr/sbin/pw useradd -n _relayd -c "Relay Daemon" -d /var/empty -s /usr/sbin/nologin -u 913 -g 913');
}
function upgrade_046_to_047() {
global $config;
/* Upgrade IPsec from tunnel to phase1/phase2 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment