aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmageia/network-scripts/ifup.d/vpn6
1 files changed, 3 insertions, 3 deletions
diff --git a/mageia/network-scripts/ifup.d/vpn b/mageia/network-scripts/ifup.d/vpn
index 4425d154..ccdf68dd 100755
--- a/mageia/network-scripts/ifup.d/vpn
+++ b/mageia/network-scripts/ifup.d/vpn
@@ -1,8 +1,8 @@
#!/bin/sh
-if [ -r /etc/sysconfig/network-scripts/ifcfg-$1 ]; then
- . /etc/sysconfig/network-scripts/ifcfg-$1
+if [ -r "/etc/sysconfig/network-scripts/ifcfg-$1" ]; then
+ . "/etc/sysconfig/network-scripts/ifcfg-$1"
if [ -n "$VPN_TYPE" ] && [ -n "$VPN_NAME" ]; then
- /usr/sbin/vpn-start $VPN_TYPE "$VPN_NAME"
+ /usr/sbin/vpn-start "$VPN_TYPE" "$VPN_NAME"
fi
fi