14 lines
274 B
Bash
Executable File
14 lines
274 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Zuerst stoppen wir Openvpn
|
|
/bin/pkill openvpn
|
|
|
|
# Dann unmounten wir den CIFS-Share
|
|
#/bin/umount /opt/openvpn/status
|
|
/bin/systemctl stop opt-openvpn-status.mount
|
|
#/bin/sleep 15
|
|
|
|
# Dann stoppen wir die Bridge mit TAP-Device
|
|
/opt/openvpn/scripts/bridge-stop.sh
|
|
|