99shutdown/shutdown.sh: export PATH

This commit is contained in:
Harald Hoyer 2012-04-18 13:08:12 +02:00
parent 7f217d7726
commit b4664769dc

View File

@ -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"