diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/vyatta-cfg-system.postinst.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in index ec1b293b..b2719bc5 100644 --- a/debian/vyatta-cfg-system.postinst.in +++ b/debian/vyatta-cfg-system.postinst.in @@ -194,6 +194,12 @@ cp -f /opt/vyatta/etc/syslog.conf /etc/syslog.conf # this logs unnecessary messages trying to start ddclient rm -f /etc/ppp/ip-up.d/ddclient +# remove old init that should have been cleaned up during upgrade but isn't +if [ -f /etc/init.d/vyatta-ofr ]; then + update-rc.d -f /etc/init.d/vyatta-ofr remove + rm -f /etc/init.d/vyatta-ofr +fi + # Local Variables: # mode: shell-script # sh-indentation: 4 |