diff options
author | Harald Hoyer <harald@redhat.com> | 2013-04-25 20:35:25 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2013-04-25 20:35:25 +0200 |
commit | 2e4662341213349f90d98e0aeaf405f387906386 (patch) | |
tree | adfdd78902b619f8968c87fde19dc387c554b271 /0037-fixup-3be5d63c2f.patch | |
parent | adf00e139fa4d487d89b700c4403439313b7900f (diff) | |
download | dracut-2e4662341213349f90d98e0aeaf405f387906386.tar.gz dracut-2e4662341213349f90d98e0aeaf405f387906386.tar.xz dracut-2e4662341213349f90d98e0aeaf405f387906386.zip |
dracut-027-39.git20130425
- fix shutdown, if /dev/console is not writeable
- fixed fips mode
Resolves: rhbz#956521
Diffstat (limited to '0037-fixup-3be5d63c2f.patch')
-rw-r--r-- | 0037-fixup-3be5d63c2f.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/0037-fixup-3be5d63c2f.patch b/0037-fixup-3be5d63c2f.patch new file mode 100644 index 0000000..983dc28 --- /dev/null +++ b/0037-fixup-3be5d63c2f.patch @@ -0,0 +1,23 @@ +From ab42fe38fd1672f83cd3500771caf321ae25080d Mon Sep 17 00:00:00 2001 +From: Harald Hoyer <harald@redhat.com> +Date: Fri, 19 Apr 2013 15:08:16 +0200 +Subject: [PATCH] fixup 3be5d63c2f + +either test or [] +--- + modules.d/99shutdown/shutdown.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/modules.d/99shutdown/shutdown.sh b/modules.d/99shutdown/shutdown.sh +index f7b8509..d6a532b 100755 +--- a/modules.d/99shutdown/shutdown.sh ++++ b/modules.d/99shutdown/shutdown.sh +@@ -8,7 +8,7 @@ + # Harald Hoyer <harald@redhat.com> + ACTION="$1" + +-[ test -w /dev/console ] && exec </dev/console >>/dev/console 2>>/dev/console ++[ -w /dev/console ] && exec </dev/console >>/dev/console 2>>/dev/console + + export TERM=linux + export PATH=/usr/sbin:/usr/bin:/sbin:/bin |