From 9f041418f6e7381b1731d56767f6570f03c9d4a9 Mon Sep 17 00:00:00 2001 From: Mohit Mehta Date: Sat, 20 Mar 2010 21:03:16 -0700 Subject: Fix Bug 5386 L2TP will work only the first time Vyatta is booted * move fix to vyatta-ravpn to make sure init script stays modified even if xl2tpd gets installed after vyatta-cfg-sytem during full-upgrade (cherry picked from commit bdc317666828bad9dac2edef20d3919d943a5e9e) --- debian/vyatta-cfg-system.postinst.in | 8 -------- 1 file changed, 8 deletions(-) diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in index d4f93991..b2719bc5 100644 --- a/debian/vyatta-cfg-system.postinst.in +++ b/debian/vyatta-cfg-system.postinst.in @@ -13,14 +13,6 @@ do update-rc.d -f ${init} remove >/dev/null done -# fix Xl2tpd init script that doesn't create its startup directory -xl2tpd_init=/etc/init.d/xl2tpd -if [ -f $xl2tpd_init ] && - ! grep -q 'mkdir -p /var/run/xl2tpd' $xl2tpd_init ; then - sed -i -e '/test -x $DAEMON || exit 0/a \ -mkdir -p /var/run/xl2tpd' $xl2tpd_init -fi - # remove extra call to clock setup only need one. this speeds up boot # Mystery: why does Debian do it twice? if [ -L /etc/rcS.d/S08hwclockfirst.sh -a -L /etc/rcS.d/S11hwclock.sh ]; then -- cgit v1.2.3