summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStew Benedict <stewb@mandriva.org>2005-02-28 20:23:42 +0000
committerStew Benedict <stewb@mandriva.org>2005-02-28 20:23:42 +0000
commit21abb1d13e0716107cd776cdfdb164a569c9b2b3 (patch)
tree95ac61128599994c4ee0b73dd2ff457ff2cfe99d
parenta8c63c99d9405a3e7656d1954c98fb0c49e4c5c9 (diff)
downloaddrakx-backup-do-not-use-21abb1d13e0716107cd776cdfdb164a569c9b2b3.tar
drakx-backup-do-not-use-21abb1d13e0716107cd776cdfdb164a569c9b2b3.tar.gz
drakx-backup-do-not-use-21abb1d13e0716107cd776cdfdb164a569c9b2b3.tar.bz2
drakx-backup-do-not-use-21abb1d13e0716107cd776cdfdb164a569c9b2b3.tar.xz
drakx-backup-do-not-use-21abb1d13e0716107cd776cdfdb164a569c9b2b3.zip
Bugzilla 14031 - cleint files created as char devices.
-rwxr-xr-xperl-install/standalone/drakTermServ8
1 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/standalone/drakTermServ b/perl-install/standalone/drakTermServ
index abbf918f1..e840fd094 100755
--- a/perl-install/standalone/drakTermServ
+++ b/perl-install/standalone/drakTermServ
@@ -1890,10 +1890,10 @@ sub client_hdw_config {
cp_af("/etc/sysconfig/mouse", "/etc/sysconfig/mouse$suffix") if -f "/etc/sysconfig/mouse";
cp_af("/etc/X11/XF86Config", "/etc/X11/XF86Config$suffix") if -f "/etc/X11/XF86Config";
cp_af('/etc/X11/xorg.conf$$CLIENT$$', "/etc/X11/xorg.conf$suffix") if -f '/etc/X11/xorg.conf$$CLIENT$$';
- cp_af("/dev/null", "/etc/modules.conf$suffix");
- cp_af("/dev/null", "/etc/modules$suffix");
- cp_af("/dev/null", "/etc/modprobe.conf$suffix");
- cp_af("/dev/null", "/etc/modprobe.preload$suffix");
+ output("/etc/modules.conf$suffix", '');
+ output("/etc/modules$suffix", '');
+ output("/etc/modprobe.conf$suffix", '');
+ output("/etc/modprobe.preload$suffix", '');
# create mount points so they can be edited by the client
my $mnt_access = "$client_ip(rw,no_root_squash)";
append_to_file("/etc/exports", "/etc/sysconfig/mouse$suffix\t$mnt_access\n");