mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-13 04:22:58 +02:00
core161: disconnect before replace pppd
after replacing a running pppd connectd is failing until next boot so stop pppd before updating. Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
@@ -98,6 +98,11 @@ rm -rf /usr/lib/collectd/python.so
|
||||
# Stop services
|
||||
/etc/init.d/ipsec stop
|
||||
|
||||
# disconnect if red is ppp0
|
||||
if [ $(</var/ipfire/red/iface) = "ppp0" ]; then
|
||||
/usr/local/bin/connscheduler hangup
|
||||
fi
|
||||
|
||||
# Extract files
|
||||
extract_files
|
||||
|
||||
|
||||
Reference in New Issue
Block a user