Woops, back that out, this MFC has already taken place.

This commit is contained in:
Scott Ullrich 2006-06-26 15:05:06 +00:00
parent e93db4a1f8
commit b2f76d1ef9

View File

@ -1523,21 +1523,4 @@ function set_device_perms() {
}
}
function set_device_perms() {
$devices = array(
'pf' => array( 'user' => 'proxy',
'group' => 'proxy',
'mode' => 0660),
);
foreach ($devices as $name => $attr) {
$path = "/dev/$name";
if (file_exists($path)) {
chown($path, $attr['user']);
chgrp($path, $attr['group']);
chmod($path, $attr['mode']);
}
}
}
?>