Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Solve virtualbox conflict
- Loading branch information
Showing
with
7 additions
and
0 deletions.
-
+7
−0
conf/ext/thebrig/functions.inc
|
|
@@ -856,6 +856,13 @@ function write_defs_rules() { |
|
|
} else { |
|
|
unlink_if_exists("/etc/devfs.rules"); |
|
|
} |
|
|
if (isset($config['vbox']['enable'])) { |
|
|
$handle = fopen("/etc/devfs.rules", "a"); |
|
|
fwrite($handle, "##Vbox rulesets##"); |
|
|
fwrite($handle, "\n[vbox_tap=20]\n"); |
|
|
fwrite($handle, "add path 'tap*' mode 0660 group vboxusers\n"); |
|
|
fclose($handle); |
|
|
} |
|
|
} |
|
|
function write_jailcommands ($out_jail) { |
|
|
global $config, $g; |
|
|
|