summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-scripts/net.modules.d/adsl')
-rw-r--r--net-scripts/net.modules.d/adsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-scripts/net.modules.d/adsl b/net-scripts/net.modules.d/adsl
index dbf6be7..facf9fd 100644
--- a/net-scripts/net.modules.d/adsl
+++ b/net-scripts/net.modules.d/adsl
@@ -59,14 +59,14 @@ adsl_start() {
adsl_setup_vars "${iface}" start || return 1
# Might or might not be set in conf.d/net
- eval user=\"\$\{adsl_user_${ifvar}\}\"
+ user="adsl_user_${ifvar}"
# Start ADSL with the cfgfile, but override ETH and PIDFILE
einfo "Starting ADSL for ${iface}"
${exe} <(cat "${cfgfile}"; \
echo "ETH=${iface}"; \
echo "PIDFILE=/var/run/rp-pppoe-${iface}.pid"; \
- [[ -n ${user} ]] && echo "USER=${user}") \
+ [[ -n ${!user} ]] && echo "USER=${!user}") \
>/dev/null
eend $?
}