Please sign in to comment.
Fix dhcp-config.sh locking
* Use >> instead of < because the lock file might not exist. * Add || exit $? after the subshell, otherwise any error will not be caught. * Close the file descriptor before starting dhcpd, otherwise the daemon will keep the lock indefinitely.
- Loading branch information...
Showing with 7 additions and 3 deletions.