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

8 lines
149 B
Plaintext
Raw Normal View History

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