diff options
author | Slávek Banko <[email protected]> | 2012-06-12 04:16:20 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2012-06-12 04:16:20 +0200 |
commit | 59394e6b2950b9178cc3e99c6eea49af7a8d5917 (patch) | |
tree | 7b60d48b2d38dd89b2c8f409619465e94981200e /knetworkconf/backends/service.pl.in | |
parent | f0594c064a6d98f4eb1e40f312d38791b279cc44 (diff) | |
download | tdeadmin-59394e6b2950b9178cc3e99c6eea49af7a8d5917.tar.gz tdeadmin-59394e6b2950b9178cc3e99c6eea49af7a8d5917.zip |
Update network configuration support for RHEL/Fedora
Thanks to Francois Andriot for the patch!
Diffstat (limited to 'knetworkconf/backends/service.pl.in')
-rw-r--r-- | knetworkconf/backends/service.pl.in | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/knetworkconf/backends/service.pl.in b/knetworkconf/backends/service.pl.in index 85b2cce..a6fa428 100644 --- a/knetworkconf/backends/service.pl.in +++ b/knetworkconf/backends/service.pl.in @@ -59,6 +59,9 @@ sub gst_service_sysv_get_paths "redhat-8.0" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/rc.d/init.d", "../init.d"], "redhat-9" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/rc.d/init.d", "../init.d"], "openna-1.0" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/rc.d/init.d", "../init.d"], + + "rhel-5" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/rc.d/init.d", "../init.d"], + "rhel-6" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/rc.d/init.d", "../init.d"], "mandrake-7.1" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/rc.d/init.d", "../init.d"], "mandrake-7.2" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/rc.d/init.d", "../init.d"], @@ -110,6 +113,10 @@ sub gst_service_sysv_get_paths "fedora-5" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/rc.d/init.d", "../init.d"], "rpath" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/rc.d/init.d", "../init.d"], + "fedora-15" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/rc.d/init.d", "../init.d"], + "fedora-16" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/rc.d/init.d", "../init.d"], + "fedora-17" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/rc.d/init.d", "../init.d"], + "vine-3.0" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/rc.d/init.d", "../init.d"], "vine-3.1" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/rc.d/init.d", "../init.d"], "ark" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/rc.d/init.d", "../init.d"], @@ -139,6 +146,9 @@ sub gst_service_sysv_get_runlevels "redhat-9" => [3, 5], "openna-1.0" => [3, 5], + "rhel-5" => [3, 5], + "rhel-6" => [3, 5], + "mandrake-7.1" => [3, 5], "mandrake-7.2" => [3, 5], "mandrake-9.0" => [3, 5], @@ -189,6 +199,10 @@ sub gst_service_sysv_get_runlevels "fedora-4" => [3, 5], "fedora-5" => [3, 5], "rpath" => [3, 5], + + "fedora-15" => [3, 5], + "fedora-16" => [3, 5], + "fedora-17" => [3, 5], "vine-3.0" => [3, 5], "vine-3.1" => [3, 5], @@ -218,6 +232,9 @@ sub gst_service_get_runlevel_roles "redhat-9" => "redhat-5.2", "openna-1.0" => "redhat-5.2", + "rhel-5" => "redhat-5.2", + "rhel-6" => "redhat-5.2", + "mandrake-7.1" => "redhat-5.2", "mandrake-7.2" => "redhat-5.2", "mandrake-9.0" => "redhat-5.2", @@ -267,6 +284,10 @@ sub gst_service_get_runlevel_roles "fedora-5" => "redhat-5.2", "rpath" => "redhat-5.2", + "fedora-15" => "redhat-5.2", + "fedora-16" => "redhat-5.2", + "fedora-17" => "redhat-5.2", + "vine-3.0" => "redhat-5.2", "vine-3.1" => "redhat-5.2", "ark" => "redhat-5.2", @@ -1751,12 +1772,17 @@ sub gst_service_get_status "redhat-7.3" => \&gst_service_redhat_get_status, "redhat-8.0" => \&gst_service_redhat_get_status, "redhat-9" => \&gst_service_redhat_get_status, + "rhel-5" => \&gst_service_redhat_get_status, + "rhel-6" => \&gst_service_redhat_get_status, "mandrake-7.2" => \&gst_service_redhat_get_status, "fedora-1" => \&gst_service_redhat_get_status, "fedora-2" => \&gst_service_redhat_get_status, "fedora-3" => \&gst_service_redhat_get_status, "fedora-4" => \&gst_service_redhat_get_status, "fedora-5" => \&gst_service_redhat_get_status, + "fedora-15" => \&gst_service_redhat_get_status, + "fedora-16" => \&gst_service_redhat_get_status, + "fedora-17" => \&gst_service_redhat_get_status, "rpath" => \&gst_service_redhat_get_status, |