diff options
author | Stew Benedict <stewb@mandriva.org> | 2003-08-25 11:54:41 +0000 |
---|---|---|
committer | Stew Benedict <stewb@mandriva.org> | 2003-08-25 11:54:41 +0000 |
commit | fb84c3d295fcfc82eb749857b6db82f51c8d3419 (patch) | |
tree | d34935acf04da6ce8988ad9bb7809b9c846365a8 | |
parent | 83173612f3074bfaa6be4498bb54c2f4d5bcc41c (diff) | |
download | drakx-backup-do-not-use-fb84c3d295fcfc82eb749857b6db82f51c8d3419.tar drakx-backup-do-not-use-fb84c3d295fcfc82eb749857b6db82f51c8d3419.tar.gz drakx-backup-do-not-use-fb84c3d295fcfc82eb749857b6db82f51c8d3419.tar.bz2 drakx-backup-do-not-use-fb84c3d295fcfc82eb749857b6db82f51c8d3419.tar.xz drakx-backup-do-not-use-fb84c3d295fcfc82eb749857b6db82f51c8d3419.zip |
Add /etc/modules for local hardware config.
-rwxr-xr-x | perl-install/standalone/drakTermServ | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/standalone/drakTermServ b/perl-install/standalone/drakTermServ index 772a0222e..90191fd24 100755 --- a/perl-install/standalone/drakTermServ +++ b/perl-install/standalone/drakTermServ @@ -1623,10 +1623,12 @@ sub client_hdw_config { cp_af("/etc/X11/XF86Config", "/etc/X11/XF86Config$suffix") if -f "/etc/X11/XF86Config"; cp_af("/etc/X11/XF86Config-4\$\$CLIENT\$\$", "/etc/X11/XF86Config-4$suffix") if -f "/etc/X11/XF86Config-4\$\$CLIENT\$\$"; cp_af("/dev/null", "/etc/modules.conf$suffix"); + cp_af("/dev/null", "/etc/modules$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"); append_to_file("/etc/exports", "/etc/modules.conf$suffix\t$mnt_access\n"); + append_to_file("/etc/exports", "/etc/modules$suffix\t$mnt_access\n"); append_to_file("/etc/exports", "/etc/X11/XF86Config$suffix\t$mnt_access\n"); append_to_file("/etc/exports", "/etc/X11/XF86Config-4$suffix\t$mnt_access\n"); } else { @@ -1653,6 +1655,7 @@ sub clean_client_config { eval { rm_rf("/etc/shadow$suffix") }; eval { rm_rf("/etc/sysconfig/mouse$suffix") }; eval { rm_rf("/etc/modules.conf$suffix") }; + eval { rm_rf("/etc/modules$suffix") }; eval { rm_rf("/etc/X11/XF86Config$suffix") }; eval { rm_rf("/etc/X11/XF86Config-4$suffix") }; remove_client_mounts($client_ip); |