From c9ac929ddff9aec5c9951815774a7bcb5d120df9 Mon Sep 17 00:00:00 2001 From: Victor Lowther Date: Sat, 21 Feb 2009 08:24:25 -0800 Subject: [PATCH] We now support the noresume kernel parameter. --- hooks/resume.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/resume.sh b/hooks/resume.sh index 4f1d6c31..619d6347 100755 --- a/hooks/resume.sh +++ b/hooks/resume.sh @@ -1,5 +1,5 @@ #!/bin/sh -resume=$(getarg resume) && { +resume=$(getarg resume) && [ "$(getarg noresume)" = "" ] && { resume=${resume#resume=} [ -b "$resume" ] && { # parsing the output of ls is Bad, but until there is a better way...