How to run another command in serial after "synogear install" in a script

Currently reading
How to run another command in serial after "synogear install" in a script

1
0
NAS
DS920+
Operating system
  1. Linux
  2. Windows
Mobile operating system
  1. Android
I am running Synology DS920+ with DSM 7.1.1-42962 Update 4

I want to run ncat command to check for open port on a IP address in my lan.
It is available after installing synogear.
But for that I have to execute "synogear install" everytime, which drops me into another shell, and then run my ncat command.
I want to do the above via cron.

How do I put it in a shell script so the ncat command runs in the shell that "synogear install" drops me into?
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Old thread notice: There have been no replies in this thread for quite some time. The last reply was on .
The content in this thread may no longer be relevant. It might be better to open a new thread instead.

Similar threads

  • Question
I guess expensive is relative.... I need 3 pc's and 3 nas (well, 2 I guess as my third doesnt have 10g...
Replies
45
Views
7,054
Yes I think you are spot on. In fact I ended up deleting all of the Synology Drive tasks and re-built...
Replies
2
Views
511
As already said, the expansion unit is part of the main NAS unit and so it's storage pool* and volume/s...
Replies
6
Views
1,467
Replies
8
Views
926
See above. I am not running LR from a remote library but one in Synology Drive, which works well. It was...
Replies
34
Views
3,238
Package + data sync: Drive ShareSync? MailPlus in HA mode? Not sure about standard Mail Server being kept...
Replies
5
Views
2,171

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Back
Top