Browse Source

shutdown: fix PATH

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.
master
Will Woods 13 years ago committed by Harald Hoyer
parent
commit
317191848a
  1. 1
      modules.d/99shutdown/shutdown.sh

1
modules.d/99shutdown/shutdown.sh

@ -10,6 +10,7 @@
#!/bin/sh #!/bin/sh
. /lib/dracut-lib.sh . /lib/dracut-lib.sh
export TERM=linux export TERM=linux
PATH=/usr/sbin:/usr/bin:/sbin:/bin


emergency_shell() emergency_shell()
{ {

Loading…
Cancel
Save