source dracut-lib for warn()

master
Brendan Germain 2016-05-25 08:29:55 -04:00
parent ff6077789e
commit 3568d947db
1 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
#!/bin/sh

type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh

# Kills rsyslogd

if [ -f /var/run/syslogd.pid ]; then
@ -8,4 +10,4 @@ if [ -f /var/run/syslogd.pid ]; then
kill -0 $pid && kill -9 $pid
else
warn "rsyslogd-stop: Could not find a pid for rsyslogd. Won't kill it."
fi
fi