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

See: https://github.com/pfsense/pfsense/commit/e93db4a1f8e
This commit is contained in:
Franco Fichtner 2016-11-28 14:04:26 +01:00
parent 68739fbbb7
commit 7c65a076d6
2 changed files with 0 additions and 19 deletions

View File

@ -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 = '')
{
global $config;

View File

@ -61,7 +61,6 @@ echo "Starting device manager (devd)...";
system_console_mute();
exec('/sbin/devd');
sleep(1);
set_device_perms();
system_console_unmute();
echo "done.\n";