summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/functions2
-rwxr-xr-xscripts/local-premount/suspend2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/functions b/scripts/functions
index 8e82896..5147009 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -228,7 +228,7 @@ load_modules()
if [ -e /sys/power/resume ]; then
if [ -e "${resume}" ]; then
major_minor=$(ls -l ${resume} | \
- awk '{printf "0x%x:0x%x", $5, $6}')
+ awk '{printf "%d:%d", $5, $6}')
echo $major_minor >/sys/power/resume
fi
fi
diff --git a/scripts/local-premount/suspend b/scripts/local-premount/suspend
index 2e0b43f..0c88ccc 100755
--- a/scripts/local-premount/suspend
+++ b/scripts/local-premount/suspend
@@ -24,6 +24,6 @@ if [ ! -e "${resume}" ]; then
fi
if [ -e /sys/power/resume ]; then
- major_minor=$(ls -l ${resume} | awk '{printf "0x%x:0x%x", $5, $6}')
+ major_minor=$(ls -l ${resume} | awk '{printf "%d:%d", $5, $6}')
echo $major_minor >/sys/power/resume
fi