Commit 7c65a076 authored by Franco Fichtner's avatar Franco Fichtner

rc: remove cruft, it's gone out of style

See: https://github.com/pfsense/pfsense/commit/e93db4a1f8e
parent 68739fbb
...@@ -290,24 +290,6 @@ function cleanup_backups() ...@@ -290,24 +290,6 @@ function cleanup_backups()
} }
} }
function set_device_perms() {
$devices = array(
'pf' => array( 'user' => 'root',
'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']);
}
}
}
function make_config_revision_entry($desc = '') function make_config_revision_entry($desc = '')
{ {
global $config; global $config;
......
...@@ -61,7 +61,6 @@ echo "Starting device manager (devd)..."; ...@@ -61,7 +61,6 @@ echo "Starting device manager (devd)...";
system_console_mute(); system_console_mute();
exec('/sbin/devd'); exec('/sbin/devd');
sleep(1); sleep(1);
set_device_perms();
system_console_unmute(); system_console_unmute();
echo "done.\n"; echo "done.\n";
......
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