Hi, Some months ago I patched the network backend that we include with KNetworkConf to support Kubuntu/Ubuntu Linux, but I think Iforgot to send it here or to Carlos Garnacho. Anyway, here it is attached, also with kubuntu logo but I suppose you'll prefer to use the Ubuntu one, as both distros use the same identification ;) Cheers, -- Juan Luis Baptiste http://www.merlinux.org http://knetworkconf.sf.net
? ubuntu-5.04.diff Index: network-conf.in =================================================================== RCS file: /cvs/system-tools-backends/system-tools-backends/network-conf.in,v retrieving revision 1.112 diff -u -3 -p -r1.112 network-conf.in --- network-conf.in 13 Apr 2005 19:44:12 -0000 1.112 +++ network-conf.in 13 Jun 2005 06:14:03 -0000 @@ -68,6 +68,7 @@ $version = "@VERSION@"; "mandrake-10.0", "mandrake-10.1", "blackpanther-4.0", "debian-2.2", "debian-3.0", "debian-sarge", + "ubuntu-5.04", "suse-7.0", "suse-9.0", "suse-9.1", "turbolinux-7.0", "fedora-1", "fedora-2", "fedora-3", "specifix", "pld-1.0", "pld-1.1", "pld-1.99", Index: network.pl.in =================================================================== RCS file: /cvs/system-tools-backends/system-tools-backends/network.pl.in,v retrieving revision 1.201 diff -u -3 -p -r1.201 network.pl.in --- network.pl.in 12 Jun 2005 15:46:18 -0000 1.201 +++ network.pl.in 13 Jun 2005 06:14:07 -0000 @@ -492,6 +492,7 @@ sub gst_network_get_broadcast_ping_cmd "debian-2.2" => "debian-2.2", "debian-3.0" => "debian-2.2", "debian-sarge" => "debian-2.2", + "ubuntu-5.04" => "debian-2.2", "mandrake-7.1" => "debian-2.2", "mandrake-7.2" => "debian-2.2", "mandrake-9.0" => "debian-2.2", @@ -1781,6 +1782,7 @@ sub gst_network_get_file "debian-2.2" => \&gst_network_deb22_get_file, "debian-3.0" => \&gst_network_deb22_get_file, "debian-sarge" => \&gst_network_deb22_get_file, + "ubuntu-5.04" => \&gst_network_deb22_get_file, "suse-7.0" => \&gst_network_suse70_get_file, "suse-9.0" => \&gst_network_deb22_get_file, "suse-9.1" => \&gst_network_deb22_get_file, @@ -3867,6 +3869,7 @@ sub gst_network_ensure_loopback_interfac "debian-2.2" => "lo", "debian-3.0" => "lo", "debian-sarge" => "lo", + "ubuntu-5.04" => "lo", "suse-7.0" => "", "suse-9.0" => "", "suse-9.1" => "", @@ -3993,6 +3996,7 @@ sub gst_network_get_parse_table "debian-2.2" => "debian-2.2", "debian-3.0" => "debian-2.2", "debian-sarge" => "debian-2.2", + "ubuntu-5.04" => "debian-2.2", "suse-7.0" => "suse-7.0", "suse-9.0" => "suse-9.0", "suse-9.1" => "suse-9.0", @@ -4402,6 +4406,7 @@ sub gst_network_get_interface_parse_tabl "debian-2.2" => "debian-2.2", "debian-3.0" => "debian-3.0", "debian-sarge" => "debian-3.0", + "ubuntu-5.04" => "debian-3.0", "suse-7.0" => "suse-7.0", "suse-9.0" => "suse-9.0", "suse-9.1" => "suse-9.0", @@ -5228,6 +5233,7 @@ sub gst_network_get_replace_table "debian-2.2" => "debian-2.2", "debian-3.0" => "debian-2.2", "debian-sarge" => "debian-2.2", + "ubuntu-5.04" => "debian-2.2", "suse-7.0" => "suse-7.0", "suse-9.0" => "suse-9.0", "suse-9.1" => "suse-9.0", @@ -5623,6 +5629,7 @@ sub gst_network_get_interface_replace_ta "debian-2.2" => "debian-2.2", "debian-3.0" => "debian-3.0", "debian-sarge" => "debian-3.0", + "ubuntu-5.04" => "debian-3.0", "suse-7.0" => "suse-7.0", "suse-9.0" => "suse-9.0", "suse-9.1" => "suse-9.0", Index: platform.pl.in =================================================================== RCS file: /cvs/system-tools-backends/system-tools-backends/platform.pl.in,v retrieving revision 1.69 diff -u -3 -p -r1.69 platform.pl.in --- platform.pl.in 13 Apr 2005 19:44:12 -0000 1.69 +++ platform.pl.in 13 Jun 2005 06:14:07 -0000 @@ -41,6 +41,7 @@ $PLATFORM_INFO = { "debian-2.2" => "Debian GNU/Linux 2.2 Potato", "debian-3.0" => "Debian GNU/Linux 3.0 Woody", "debian-sarge" => "Debian GNU/Linux Sarge", + "ubuntu-5.04" => "Ubuntu GNU/Linux Hoary", "redhat-5.2" => "Red Hat Linux 5.2 Apollo", "redhat-6.0" => "Red Hat Linux 6.0 Hedwig", "redhat-6.1" => "Red Hat Linux 6.1 Cartman", Index: service.pl.in =================================================================== RCS file: /cvs/system-tools-backends/system-tools-backends/service.pl.in,v retrieving revision 1.86 diff -u -3 -p -r1.86 service.pl.in --- service.pl.in 13 Apr 2005 19:44:12 -0000 1.86 +++ service.pl.in 13 Jun 2005 06:14:12 -0000 @@ -76,7 +76,8 @@ sub gst_service_sysv_get_paths "debian-2.2" => ["$gst_prefix/etc", "$gst_prefix/etc/init.d", "../init.d"], "debian-3.0" => ["$gst_prefix/etc", "$gst_prefix/etc/init.d", "../init.d"], "debian-sarge" => ["$gst_prefix/etc", "$gst_prefix/etc/init.d", "../init.d"], - + "ubuntu-5.04" => ["$gst_prefix/etc", "$gst_prefix/etc/init.d", "../init.d"], + "suse-7.0" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/rc.d", "../"], "suse-9.0" => ["$gst_prefix/etc/init.d", "$gst_prefix/etc/init.d", "../"], "suse-9.1" => ["$gst_prefix/etc/init.d", "$gst_prefix/etc/init.d", "../"], @@ -137,7 +138,8 @@ sub gst_service_sysv_get_runlevels "debian-2.2" => [2, 3], "debian-3.0" => [2, 3], "debian-sarge" => [2, 3], - + "ubuntu-5.04" => [2, 3], + "suse-7.0" => [3, 5], "suse-9.0" => [3, 5], "suse-9.1" => [3, 5], @@ -197,7 +199,8 @@ sub gst_service_get_verbose_runlevels "debian-2.2" => "debian-2.2", "debian-3.0" => "debian-2.2", "debian-sarge" => "debian-2.2", - + "ubuntu-5.04" => "debian-2.2", + "suse-7.0" => "redhat-5.2", "suse-9.0" => "redhat-5.2", "suse-9.1" => "redhat-5.2", @@ -1577,7 +1580,8 @@ sub gst_service_get_status "debian-2.2" => \&gst_service_debian_get_status, "debian-3.0" => \&gst_service_debian_get_status, "debian-sarge" => \&gst_service_debian_get_status, - + "ubuntu-5.04" => \&gst_service_debian_get_status, + "redhat-5.2" => \&gst_service_redhat_get_status, "redhat-6.0" => \&gst_service_redhat_get_status, "redhat-6.1" => \&gst_service_redhat_get_status,
Attachment:
kubuntu.png
Description: PNG image