All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] shutdown: fix PATH
@ 2012-03-21 23:47 Will Woods
  0 siblings, 0 replies; only message in thread
From: Will Woods @ 2012-03-21 23:47 UTC (permalink / raw)
  To: initramfs-u79uwXL29TY76Z2rM5mHXA

Some systems might not use /bin:/sbin in their paths anymore, but we're
still using it in initramfs, so make sure our PATH is correct.
---
 modules.d/99shutdown/shutdown.sh |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules.d/99shutdown/shutdown.sh b/modules.d/99shutdown/shutdown.sh
index c8ca664..8817a4c 100755
--- a/modules.d/99shutdown/shutdown.sh
+++ b/modules.d/99shutdown/shutdown.sh
@@ -10,6 +10,7 @@
 #!/bin/sh
 . /lib/dracut-lib.sh
 export TERM=linux
+PATH=/usr/sbin:/usr/bin:/sbin:/bin
 
 emergency_shell()
 {
-- 
1.7.7.6

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-03-21 23:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-21 23:47 [PATCH] shutdown: fix PATH Will Woods

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.