source dracut-lib for warn()
parent
ff6077789e
commit
3568d947db
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue