Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions resolvconf.in
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,12 @@ detect_init()
fi'
elif [ -d /etc/dinit.d ] && command -v dinitctl >/dev/null 2>&1; then
RESTARTCMD='dinitctl --quiet restart --ignore-unstarted $1'
elif [ -d /etc/nitro ] && command -v nitroctl >/dev/null 2>&1; then
RESTARTCMD='
if nitroctl pidof $1 >/dev/null 2>&1
then
nitroctl restart $1
fi'
else
for x in /etc/init.d/rc.d /etc/rc.d /etc/init.d; do
[ -d $x ] || continue
Expand Down