summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorMohit Mehta <mohit.mehta@vyatta.com>2010-03-20 21:03:16 -0700
committerMohit Mehta <mohit.mehta@vyatta.com>2010-03-20 22:43:00 -0700
commit9f041418f6e7381b1731d56767f6570f03c9d4a9 (patch)
tree2a8fe7e8fea209c0fa06a38fcb7d54be515ea51a /debian
parent93e6791334b2117baab3613c1c8ca6f9bc54fb4b (diff)
downloadvyatta-cfg-system-9f041418f6e7381b1731d56767f6570f03c9d4a9.tar.gz
vyatta-cfg-system-9f041418f6e7381b1731d56767f6570f03c9d4a9.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 (cherry picked from commit bdc317666828bad9dac2edef20d3919d943a5e9e)
Diffstat (limited to 'debian')
-rw-r--r--debian/vyatta-cfg-system.postinst.in8
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