#!/usr/bin/sh #---------------------------------------------------------------------------- # /etc/ppp/ip-down.imond - called whenever a (i)ppp connection has been come down # # Creation: 2024-12-16 hbfl # Last Update: $Id$ # # Copyright (c) 2024-@@YEAR@@ the eisfair team, team(at)eisfair(dot)org # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. #---------------------------------------------------------------------------- if [ "${interface}" = "ppp0" ] then interface=pppoe rm -f /run/pppoe.up rm -f /run/pppoe.pid if [ -f /run/imond.pid ] then /usr/bin/imond-stat "pppoe: down" fi fi