Blame 0019-99shutdown-shutdown.sh-export-PATH.patch

Harald Hoyer 1f6198
From b4664769dc63959c60c459effcf64ba284afdc55 Mon Sep 17 00:00:00 2001
Harald Hoyer 1f6198
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer 1f6198
Date: Wed, 18 Apr 2012 13:08:12 +0200
Harald Hoyer 1f6198
Subject: [PATCH] 99shutdown/shutdown.sh: export PATH
Harald Hoyer 1f6198
Harald Hoyer 1f6198
---
Harald Hoyer 1f6198
 modules.d/99shutdown/shutdown.sh |    5 ++---
Harald Hoyer 35271e
 1 file changed, 2 insertions(+), 3 deletions(-)
Harald Hoyer 1f6198
Harald Hoyer 1f6198
diff --git a/modules.d/99shutdown/shutdown.sh b/modules.d/99shutdown/shutdown.sh
Harald Hoyer 1f6198
index 45345a4..aa0a81f 100755
Harald Hoyer 1f6198
--- a/modules.d/99shutdown/shutdown.sh
Harald Hoyer 1f6198
+++ b/modules.d/99shutdown/shutdown.sh
Harald Hoyer 1f6198
@@ -7,10 +7,9 @@
Harald Hoyer 1f6198
 # Copyright 2011, Red Hat, Inc.
Harald Hoyer 1f6198
 # Harald Hoyer <harald@redhat.com>
Harald Hoyer 1f6198
 
Harald Hoyer 1f6198
-#!/bin/sh
Harald Hoyer 1f6198
-. /lib/dracut-lib.sh
Harald Hoyer 1f6198
 export TERM=linux
Harald Hoyer 1f6198
-PATH=/usr/sbin:/usr/bin:/sbin:/bin
Harald Hoyer 1f6198
+export PATH=/usr/sbin:/usr/bin:/sbin:/bin
Harald Hoyer 1f6198
+. /lib/dracut-lib.sh
Harald Hoyer 1f6198
 
Harald Hoyer 1f6198
 trap "emergency_shell --shutdown shutdown Signal caught!" 0
Harald Hoyer 1f6198
 getarg 'rd.break=pre-shutdown' && emergency_shell --shutdown pre-shutdown "Break before pre-shutdown"