projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f217d7
)
99shutdown/shutdown.sh: export PATH
author
Harald Hoyer
<harald@redhat.com>
Wed, 18 Apr 2012 11:08:12 +0000
(13:08 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Thu, 19 Apr 2012 09:59:39 +0000
(11:59 +0200)
modules.d/99shutdown/shutdown.sh
patch
|
blob
|
history
diff --git
a/modules.d/99shutdown/shutdown.sh
b/modules.d/99shutdown/shutdown.sh
index
45345a4
..
aa0a81f
100755
(executable)
--- a/
modules.d/99shutdown/shutdown.sh
+++ b/
modules.d/99shutdown/shutdown.sh
@@
-7,10
+7,9
@@
# Copyright 2011, Red Hat, Inc.
# Harald Hoyer <harald@redhat.com>
-#!/bin/sh
-. /lib/dracut-lib.sh
export TERM=linux
-PATH=/usr/sbin:/usr/bin:/sbin:/bin
+export PATH=/usr/sbin:/usr/bin:/sbin:/bin
+. /lib/dracut-lib.sh
trap "emergency_shell --shutdown shutdown Signal caught!" 0
getarg 'rd.break=pre-shutdown' && emergency_shell --shutdown pre-shutdown "Break before pre-shutdown"