diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2001-09-06 15:38:09 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2001-09-06 15:38:09 +0000 |
commit | 34fa1ed87e61dac62720090f45c13fe1d422aa78 (patch) | |
tree | 0f404666815dda095fdf934cb5d553d434b8384a /perl-install/standalone | |
parent | 80c57e031653cda2af78fdf87aee42750acdcf3a (diff) | |
download | drakx-34fa1ed87e61dac62720090f45c13fe1d422aa78.tar drakx-34fa1ed87e61dac62720090f45c13fe1d422aa78.tar.gz drakx-34fa1ed87e61dac62720090f45c13fe1d422aa78.tar.bz2 drakx-34fa1ed87e61dac62720090f45c13fe1d422aa78.tar.xz drakx-34fa1ed87e61dac62720090f45c13fe1d422aa78.zip |
works now ;p
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-x | perl-install/standalone/drakgw | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/perl-install/standalone/drakgw b/perl-install/standalone/drakgw index 65a5a96db..f857c7c30 100755 --- a/perl-install/standalone/drakgw +++ b/perl-install/standalone/drakgw @@ -39,7 +39,7 @@ $::direct = /-direct/; my $sysconf_network = "/etc/sysconfig/network"; -my $conf_linuxconf = "/etc/conf.linuxconf"; +my $sysconf_dhcpd = "/etc/sysconfig/dhcpd"; my $rc_firewall_generic = "/etc/rc.d/rc.firewall"; my $rc_firewall_drakgw = "/etc/rc.d/rc.firewall.inet_sharing"; my $rc_firewall_22 = "/etc/rc.d/rc.firewall.inet_sharing-2.2"; @@ -298,7 +298,6 @@ my $rpms_to_install; my %rpm2file = ( ipchains => '/sbin/ipchains', iptables => '/sbin/iptables', 'dhcp-server' => '/usr/sbin/dhcpd', - linuxconf => $conf_linuxconf, bind => '/usr/sbin/named', 'caching-nameserver' => '/var/named/named.local'); @@ -506,9 +505,9 @@ my $update_dhcp = '/usr/sbin/update_dhcp.pl'; -e $update_dhcp and system($update_dhcp); -#- put the interface for the dhcp server in linuxconf config, for the /etc script of dhcpd +#- put the interface for the dhcp server in the sysconfig-dhcp config, for the /etc/init.d script of dhcpd -substInFile { s/^DHCP.interface.*\n//; $_ .= "DHCP.interface $device\n" if eof } $conf_linuxconf; +substInFile { s/^INTERFACES\n//; $_ .= "INTERFACES=\"$device\"\n" if eof } $sysconf_dhcpd; #- Set up /etc/cups/cupsd.conf to make the broadcasting of the printer info @@ -665,6 +664,9 @@ Click on Configure to launch the setup wizard.", $setup_state)); #------------------------------------------------- #- $Log$ +#- Revision 1.52 2001/09/06 15:38:09 gc +#- works now ;p +#- #- Revision 1.51 2001/08/29 21:52:34 gc #- quit_global #- |