From 0c7612d583e4526d8a3f1575aea749bd41a9163e Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Sun, 5 Feb 2017 01:38:36 +0000 Subject: [PATCH] bin/ovh-api --- bin/ovh-api | 1 + etc/dbq/000-local.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/ovh-api b/bin/ovh-api index 0fd7a441..12aa6651 100755 --- a/bin/ovh-api +++ b/bin/ovh-api @@ -105,6 +105,7 @@ sub query { my $URL = shift @ARGV or help(); my %aliases = ( '/server' => '/dedicated/server', + #'/dns' => '/domain/zone', ); exists $aliases{$URL} and $URL = $aliases{$URL}; my $BODY = @ARGV ? shift(@ARGV) : {}; diff --git a/etc/dbq/000-local.php b/etc/dbq/000-local.php index b4dae9a5..71b99f8d 100644 --- a/etc/dbq/000-local.php +++ b/etc/dbq/000-local.php @@ -10,9 +10,9 @@ $DBQ = [ # NB 29.11.16 'default_table' => 'shell_function', # NB 29.11.16 'host' => nb::ROOT_DIR.'/share/db/shell.db', # NB 29.11.16 ], - 'sys' => [ + 'nb-sys' => [ 'type' => 'sqlite', - 'name' => 'nb-sys', + 'name' => 'Sys', 'default_table' => 'port', 'host' => nb::ROOT_DIR.'/share/db/sys.db', ], -- 2.47.3