aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifdown
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig/network-scripts/ifdown')
-rwxr-xr-xsysconfig/network-scripts/ifdown7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifdown b/sysconfig/network-scripts/ifdown
index a0cc0c9e..fd766427 100755
--- a/sysconfig/network-scripts/ifdown
+++ b/sysconfig/network-scripts/ifdown
@@ -16,7 +16,7 @@ CONFIG=$1
exit 1
}
-need_config $CONFIG
+need_config "${CONFIG}"
[ -f "$CONFIG" ] || {
echo $"usage: ifdown <device name>" >&2
@@ -41,6 +41,11 @@ then
exit 0
fi
+if [ "$USE_NM" = "true" ]] && is_nm_active "$DEVICE" ; then
+ nmcli dev disconnect iface "$DEVICE"
+ exit $?
+fi
+
if [ -x /sbin/ifdown-pre-local ]; then
/sbin/ifdown-pre-local ${DEVICE}
fi
an class="hl kwb">title="Zgjidh miun"> <link rel="next" href="securityLevel.html" title="Niveli Siguris&euml;"><style xmlns="http://www.w3.org/TR/xhtml1/transitional" type="text/css"> <!-- body { font-family: sans-serif; font-size: 13px } table { font-family: sans-serif; font-size: 13px } --></style></head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <div lang="sq" class="section" title="Konfigurimi z&euml;rit"> <div class="titlepage"> <div> <div> <h2 class="title"><a name="soundConfig"></a>Konfigurimi z&euml;rit </h2> </div> </div> </div> <p>In this screen the name of the driver that the installer chose for your sound card is given, which will be the default driver if we have a default one. </p> <p>The default driver should work without problems. However, if after install you do encounter problems, then run <span class="command"><strong>draksound</strong></span> or start this tool via MCC (Mageia Control Center), by choosing the <span class="guilabel">Hardware</span> tab and clicking on <span class="guilabel">Sound Configuration</span> at the top right of the screen. </p> <p>Then, in the draksound or "Sound Configuration" tool screen, click on <span class="guibutton">Advanced</span> and then on <span class="guibutton">Troubleshooting</span> to find very useful advice about how to solve the problem. </p> <div class="section" title="Avancuar"> <div class="titlepage"> <div> <div> <h3 class="title"><a name="soundConfig-Advanced"></a>Avancuar </h3> </div> </div> </div> <p>Clicking <span class="guibutton">Advanced</span> in this screen, during install, is useful if there is no default driver and there are several drivers available, but you think the installer selected the wrong one. </p> <p>In that case you can select a different driver after clicking on <span class="guibutton">Let me pick any driver</span>. </p> </div> </div> </body> </html>