smeserver-tftp-server/root/etc/e-smith/db/configuration/migrate/tftpd.privilege

8 lines
149 B
Plaintext

{
my $tftpd = $DB->get('tftpd') or return;
if ( $tftpd->prop('privilege') eq "r" )
{
$tftpd->set_prop('privilege' => "ro");
}
}