2af3ea715d
- add NetworkManager dispatcher script to reload named when network interface is activated/deactivated (#490275) - don't set/unset named_write_master_zones SELinux boolean every time in initscript, modify it only when it's actually needed
7 lines
159 B
Bash
7 lines
159 B
Bash
#!/bin/bash
|
|
|
|
# Check if named is running
|
|
/sbin/service named status > /dev/null 2>&1 || exit 0
|
|
|
|
[ "$2" = 'up' -o "$2" = 'down' ] && /sbin/service named reload
|