summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Pereira Neves2014-08-21 19:35:50 +0200
committerMichael Pereira Neves2014-10-28 14:14:49 +0100
commit5ced35281751f98b8c1a0c4d28f0653f7b3aabf2 (patch)
tree76d7655e40bd4389083db031079826fd11257023
parent[partitioner] setup_partitions using GPT types and SLX_PARTITION_TABLE, lacki... (diff)
downloadtm-scripts-5ced35281751f98b8c1a0c4d28f0653f7b3aabf2.tar.gz
tm-scripts-5ced35281751f98b8c1a0c4d28f0653f7b3aabf2.tar.xz
tm-scripts-5ced35281751f98b8c1a0c4d28f0653f7b3aabf2.zip
[partitioner] made partitioner a config module
-rw-r--r--partitioner/config (renamed from remote/modules/partitioner/config)0
l---------server/configs/curitiba/partitioner1
-rwxr-xr-xserver/modules/partitioner/opt/openslx/scripts/partitioner (renamed from remote/modules/partitioner/partitioner.sh)4
3 files changed, 3 insertions, 2 deletions
diff --git a/remote/modules/partitioner/config b/partitioner/config
index bf34dcca..bf34dcca 100644
--- a/remote/modules/partitioner/config
+++ b/partitioner/config
diff --git a/server/configs/curitiba/partitioner b/server/configs/curitiba/partitioner
new file mode 120000
index 00000000..b45bce02
--- /dev/null
+++ b/server/configs/curitiba/partitioner
@@ -0,0 +1 @@
+../../modules/partitioner \ No newline at end of file
diff --git a/remote/modules/partitioner/partitioner.sh b/server/modules/partitioner/opt/openslx/scripts/partitioner
index 118d420a..e5e94f4e 100755
--- a/remote/modules/partitioner/partitioner.sh
+++ b/server/modules/partitioner/opt/openslx/scripts/partitioner
@@ -3,7 +3,7 @@
# set -e
PARTITIONSPATH="/proc/partitions"
-CONFIGPATH="./config"
+CONFIGPATH="/opt/openslx/config"
# BLOCKSIZE=$(sfdisk -l /dev/$CHOSENDISK | grep -o -e "blocks of [0-9]* bytes" | cut -d ' ' -f3)
BLOCKSIZE=1024
@@ -278,4 +278,4 @@ else
done
fi
-dialog --msgbox "$DIALOGSTR" 0 0 \ No newline at end of file
+dialog --msgbox "$DIALOGSTR" 0 0