mirror of
https://github.com/dracutdevs/dracut.git
synced 2024-10-27 17:55:47 +03:00
99shutdown/shutdown.sh: export PATH
This commit is contained in:
parent
7f217d7726
commit
b4664769dc
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user