Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- time="$(date +%c)"
- message="$(echo -e "Client has disconnected from: ${HOSTNAME} \\nDisconnected time: ${time} \\nRemote IP: ${untrusted_ip} \\nVirtual IP: ${ifconfig_pool_remote_ip} \\nClient name: ${common_name}")"
- /usr/bin/create_notification -s news "${message}"
- /usr/bin/notifier
- #!/bin/bash
- time="$(date +%c)"
- message="$(echo -e "Client has connected to: ${HOSTNAME} \\nConnected since: ${time} \\nRemote IP: ${untrusted_ip} \\nVirtual IP: ${ifconfig_pool_remote_ip} \\nClient name: ${common_name}")"
- /usr/bin/create_notification -s news "${message}"
- /usr/bin/notifier
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement