On Monday 06 August 2007, Pavel Machek wrote: > > @@ -1,4 +1,4 @@ > > -#!/bin/bash > > +#!/bin/sh -x > > > > What is "sh -x"? >
Good catch! I had some issues with this script... -x allows debugging... Here is an update. Sorry. --- diff -urNp suspend.org/scripts/create-resume-initrd.sh suspend-0.6_beta1/scripts/create-resume-initrd.sh --- suspend.org/scripts/create-resume-initrd.sh 2006-07-23 14:32:53.000000000 +0300 +++ suspend-0.6_beta1/scripts/create-resume-initrd.sh 2007-08-02 23:12:52.000000000 +0300 @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh RESUME_DEVICE=$1 if [ -n "$2" ]; then diff -urNp suspend.org/scripts/install-resume.sh suspend-0.6_beta1/scripts/install-resume.sh --- suspend.org/scripts/install-resume.sh 2006-02-26 20:17:12.000000000 +0200 +++ suspend-0.6_beta1/scripts/install-resume.sh 2007-08-02 23:17:34.000000000 +0300 @@ -1,10 +1,13 @@ -#!/bin/bash +#!/bin/sh if [ -z "$RESUME" ]; then RESUME="resume" fi +if [ -z "$BOOT_DIR" ]; then + BOOT_DIR="/boot" +fi if [ -z "$INITRD_FILE" ]; then - INITRD_FILE="/boot/resume-initrd" + INITRD_FILE="$BOOT_DIR/resume-initrd" fi if [ -z "$MOUNT_POINT" ]; then MOUNT_POINT="/mnt" ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel