summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xperl-install/standalone/lsnetdrake2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/standalone/lsnetdrake b/perl-install/standalone/lsnetdrake
index 12399d2c3..39d8d3337 100755
--- a/perl-install/standalone/lsnetdrake
+++ b/perl-install/standalone/lsnetdrake
@@ -5,6 +5,7 @@ use standalone;
use fs::remote::nfs;
use fs::remote::smb;
use MDK::Common::Func qw(if_);
+#use interactive; # if we'd want lsnetdrake to install missing pkgs
"@ARGV" =~ /-h/ and die "usage: lsnetdrake [-h] [--nfs] [--smb]\n";
@@ -15,6 +16,7 @@ $| = 1;
$ENV{PATH} = "/sbin:/usr/sbin:$ENV{PATH}";
foreach my $class (if_($nfs, fs::remote::nfs->new), if_($smb, fs::remote::smb->new)) {
+ #$class->check(interactive->vnew) if -t *STDIN && -t *STDOUT; # Only if tty. TO DO IN INTERACTIVE-vnew instead?t
foreach my $server (sort_names(eval { $class->find_servers })) {
foreach (sort_names(eval { $class->find_exports($server) })) {
print $class->to_fullstring($_), "\n";