From 0f14687326810817de75df33f84d10d4ef0a02f5 Mon Sep 17 00:00:00 2001 From: Adam Thorn <alt36@cam.ac.uk> Date: Mon, 20 Dec 2021 11:44:36 +0000 Subject: [PATCH] move-machine.sh: update/fix usage message --- ROOT/DEBIAN/control | 2 +- ROOT/usr/lib/chem-zfs-backup-server/move-machine.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ROOT/DEBIAN/control b/ROOT/DEBIAN/control index dde47f2..2f10ca8 100644 --- a/ROOT/DEBIAN/control +++ b/ROOT/DEBIAN/control @@ -3,6 +3,6 @@ Priority: optional Section: otherosfs Maintainer: Chemistry COs <support@ch.cam.ac.uk> Architecture: all -Version: 0.9-ch88 +Version: 0.9-ch89 Depends: zfs-dkms, postgresql-13 | postgresql-9.5 | postgresql-9.4 , liblockfile-simple-perl, libdbi-perl, libjson-perl, libzfs-perl-chem, libnet-openssh-perl, libdbd-pg-perl, mbuffer, rsync, nfs-kernel-server, pv, libwww-curl-perl Description: a backup system using ZFS (repository 'backup-scheduler') diff --git a/ROOT/usr/lib/chem-zfs-backup-server/move-machine.sh b/ROOT/usr/lib/chem-zfs-backup-server/move-machine.sh index f1fc59f..1466217 100755 --- a/ROOT/usr/lib/chem-zfs-backup-server/move-machine.sh +++ b/ROOT/usr/lib/chem-zfs-backup-server/move-machine.sh @@ -12,9 +12,9 @@ function dosql() { # if [ -z "$1" ] ; then - echo Usage: $0 machine [new-zfs] - echo Moves the named machine onto a new ZFS - echo If the new-zfs parameter is empty, automatically choose the one with the most space + echo Usage: $0 machine_fqdn [new-zpool] + echo Moves the named machine onto a new zpool + echo If the new-zpool parameter is empty, the one with the most space will automatically be chosen exit 1 fi -- GitLab