Skip to content

Commit

Permalink
Added sleep 1 after killing tinc, to let it die for sure
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Mistrali committed Nov 3, 2017
1 parent 382c2d0 commit efb4a01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion security/pfSense-pkg-tinc/files/usr/local/pkg/tinc.inc
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ function tinc_save() {
function tinc_write_rcfile() {
$rc['file'] = 'tinc.sh';
$rc['start'] .= "/usr/local/sbin/tincd --config=/usr/local/etc/tinc\n\t";
$rc['stop'] .= "/usr/local/sbin/tincd --kill \n\t";
$rc['stop'] .= "/usr/local/sbin/tincd --kill && sleep 2\n\t";
write_rcfile($rc);
}

Expand Down

0 comments on commit efb4a01

Please sign in to comment.