From 367a7770117c27507bea4fe085bdce52739f82bf Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Thu, 15 Oct 2009 00:16:32 +0200 Subject: [PATCH] Fix dhcp leasefile for pptp over dhcp. --- src/initscripts/init.d/networking/red | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/initscripts/init.d/networking/red b/src/initscripts/init.d/networking/red index e1d919ac72..b1b4341c41 100644 --- a/src/initscripts/init.d/networking/red +++ b/src/initscripts/init.d/networking/red @@ -337,13 +337,13 @@ case "${1}" in if [ -f "$PIDFILE" ]; then ps `cat "$PIDFILE"` | grep dhcpcd > /dev/null if [ $? != 0 ]; then - rm -f /var/run/dhcpcd-${DEVICE}.${RED_VDSL_IPTV_VLAN}.pid > /dev/null + rm -f /var/run/dhcpcd-${DEVICE}.pid > /dev/null fi fi if [ ! -f "$PIDFILE" ]; then boot_mesg -n "Starting dhcpcd on the ${DEVICE} interface..." - /sbin/dhcpcd ${DEVICE} -G ${DHCP_START} >/dev/null 2>&1 + /sbin/dhcpcd ${DEVICE} ${DHCP_START} >/dev/null 2>&1 RET="$?" if [ "$RET" = "0" ]; then -- 2.39.2