mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Revise openvpn log output method
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
touch /tmp/openvpn.log
|
touch /tmp/openvpn.log
|
||||||
grep -m 100 openvpn /var/log/syslog | sudo tee /tmp/openvpn.log
|
journalctl |grep -m 200 openvpn | sudo tee /tmp/openvpn.log
|
||||||
|
Reference in New Issue
Block a user