diff options
author | Mystery Man <unknown@mandriva.org> | 2005-05-25 08:56:46 +0000 |
---|---|---|
committer | Mystery Man <unknown@mandriva.org> | 2005-05-25 08:56:46 +0000 |
commit | 45e61de16e073594e8532af5b1fff8e76901ee88 (patch) | |
tree | eda23f712150bace0146c6011c39319484f1a715 /perl-install/security/various.pm | |
parent | 2be3766b2c1fafa44da4b93b2851044d977a128a (diff) | |
download | drakx-backup-do-not-use-MDK10-LACIE-restore-2.tar drakx-backup-do-not-use-MDK10-LACIE-restore-2.tar.gz drakx-backup-do-not-use-MDK10-LACIE-restore-2.tar.bz2 drakx-backup-do-not-use-MDK10-LACIE-restore-2.tar.xz drakx-backup-do-not-use-MDK10-LACIE-restore-2.zip |
This commit was manufactured by cvs2svn to create tagMDK10-LACIE-restore-2
'MDK10-LACIE-restore-2'.
Diffstat (limited to 'perl-install/security/various.pm')
-rw-r--r-- | perl-install/security/various.pm | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/perl-install/security/various.pm b/perl-install/security/various.pm deleted file mode 100644 index 23b9174ef..000000000 --- a/perl-install/security/various.pm +++ /dev/null @@ -1,30 +0,0 @@ -package security::various; # $Id$ - -use diagnostics; -use strict; - -use common; - -sub config_libsafe { - my $setting = @_ > 1; - my ($prefix, $libsafe) = @_; - my %t = getVarsFromSh("$prefix/etc/sysconfig/system"); - if ($setting) { - $t{LIBSAFE} = bool2yesno($libsafe); - setVarsInSh("$prefix/etc/sysconfig/system", \%t); - } - text2bool($t{LIBSAFE}); -} - -sub config_security_user { - my $setting = @_ > 1; - my ($prefix, $sec_user) = @_; - my %t = getVarsFromSh("$prefix/etc/security/msec/security.conf"); - if ($setting) { - $t{MAIL_USER} = $sec_user; - setVarsInSh("$prefix/etc/security/msec/security.conf", \%t); - } - $t{MAIL_USER}; -} - -1; |