diff options
author | Mohit Mehta <mohit.mehta@vyatta.com> | 2010-03-20 21:03:16 -0700 |
---|---|---|
committer | Mohit Mehta <mohit.mehta@vyatta.com> | 2010-03-20 21:03:16 -0700 |
commit | bdc317666828bad9dac2edef20d3919d943a5e9e (patch) | |
tree | 6b8accfe99bac073af8a2a9251d9e65e0f42fb46 | |
parent | 73b971fa893e020ed618dcc2e18be77194e01227 (diff) | |
download | vyatta-cfg-system-bdc317666828bad9dac2edef20d3919d943a5e9e.tar.gz vyatta-cfg-system-bdc317666828bad9dac2edef20d3919d943a5e9e.zip |
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
-rw-r--r-- | debian/vyatta-cfg-system.postinst.in | 8 |
1 files changed, 0 insertions, 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 |