Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
kiwi
:
Appliance
>
dracut
> 0127-source-dracut-lib-for-warn.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File 0127-source-dracut-lib-for-warn.patch of Package dracut
From db0bb7a01a9cbc5a140599bd7a5d1042cb516305 Mon Sep 17 00:00:00 2001 From: Brendan Germain <brendan.germain@nasdaqomx.com> Date: Wed, 25 May 2016 08:29:55 -0400 Subject: [PATCH] source dracut-lib for warn() --- modules.d/98syslog/rsyslogd-stop.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules.d/98syslog/rsyslogd-stop.sh b/modules.d/98syslog/rsyslogd-stop.sh index 010d56a5..52c8edf6 100755 --- a/modules.d/98syslog/rsyslogd-stop.sh +++ b/modules.d/98syslog/rsyslogd-stop.sh @@ -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 \ No newline at end of file +fi