From 29c989ad157e1b03b867c7a98158c32358df082f Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Thu, 6 Jul 2017 21:57:47 +0200 Subject: Small cleanup --- app/src/main/java/org/pacien/tincapp/commands/Tinc.kt | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'app/src/main/java/org/pacien/tincapp/commands/Tinc.kt') diff --git a/app/src/main/java/org/pacien/tincapp/commands/Tinc.kt b/app/src/main/java/org/pacien/tincapp/commands/Tinc.kt index e8ebb21..9b57233 100644 --- a/app/src/main/java/org/pacien/tincapp/commands/Tinc.kt +++ b/app/src/main/java/org/pacien/tincapp/commands/Tinc.kt @@ -13,17 +13,6 @@ object Tinc { .withOption("config", AppPaths.confDir(netName).absolutePath) .withOption("pidfile", AppPaths.pidFile(netName).absolutePath) - // independently runnable commands - - @Throws(IOException::class) - fun fsck(netName: String, fix: Boolean): List { - var cmd = newCommand(netName).withArguments("fsck") - if (fix) cmd = cmd.withOption("force") - return Executor.call(cmd) - } - - // commands requiring a running tinc daemon - @Throws(IOException::class) fun stop(netName: String) { Executor.call(newCommand(netName).withArguments("stop")) -- cgit v1.2.3