summaryrefslogtreecommitdiff
path: root/backend/modules
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2011-09-27 23:28:48 +0200
committerAndreas Loibl <andreas@andreas-loibl.de>2011-09-27 23:28:48 +0200
commite77e39a73d9553a692745c5e2f64afa827a57412 (patch)
tree39daae53f0ca695487187b654db9976777b23eb2 /backend/modules
parent8c555aa3d5583667a47e3aa1d822b215f0a8a828 (diff)
downloadacritoxinstaller-e77e39a73d9553a692745c5e2f64afa827a57412.zip
acritoxinstaller-e77e39a73d9553a692745c5e2f64afa827a57412.tar.gz
reordered old code
Diffstat (limited to 'backend/modules')
-rw-r--r--backend/modules/frontend7
-rw-r--r--backend/modules/hdmap9
2 files changed, 7 insertions, 9 deletions
diff --git a/backend/modules/frontend b/backend/modules/frontend
index 8c6c87c..0463863 100644
--- a/backend/modules/frontend
+++ b/backend/modules/frontend
@@ -19,3 +19,10 @@ function send_error()
return 1
}
+function emit_progress()
+{
+ percent=$1
+ [ "$percent" -gt 100 ] && percent=100
+ send progress "$percent"
+}
+
diff --git a/backend/modules/hdmap b/backend/modules/hdmap
index 50f1bc5..93d321f 100644
--- a/backend/modules/hdmap
+++ b/backend/modules/hdmap
@@ -21,15 +21,6 @@ cat <<"EOT"
EOT
}
-# FIXME TODO OLD OUTDATED
-function emit_progress()
-{
- percent=$1
- [ "$percent" -gt 100 ] && percent=100
- send progress "$percent"
-}
-
-
# Synopsis: is_disk /dev/xyz
#
# This function returns 0 if the supplied argument is a disk.