This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# modified version of this snippet | |
# https://gist.github.com/TheRook/95f2b872bdc81bac2371 | |
import dns.resolver | |
import dns.name | |
from urllib.parse import urlparse | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- /root/sympa 2017-12-22 06:31:10.000000000 +0000 | |
+++ /etc/init.d/sympa 2018-07-13 20:21:44.995899568 +0000 | |
@@ -32,7 +32,7 @@ sympaconf="/etc/sympa/sympa.conf" | |
sympapiddir="/var/run/sympa/" | |
sympalockdir="/var/lock/subsys" | |
- | |
+RETVAL=1 | |
if [ -f /etc/sysconfig/network ]; then |