> Sorry. I've lost the thread here, what is the "it" you refer to?
I’m not an linux expert so you’ll have to bear with me, but I guess the it I
was referring to whatever NUT is using since what we’re editing is a config
file, not a script; it doesn’t have a shebang at the top.
> If you run the c
On Tue, 4 Aug 2020, Todd Benivegna wrote:
Right, but I don't know what NUT script is actually calling it. I don't know
how else I would check.
Sorry. I've lost the thread here, what is the "it" you refer to?
If you run the command
grep nut /etc/password
you will probably receive a reply
On 8/4/20 5:43 PM, Todd Benivegna wrote:
Right, but I don't know what NUT script is actually calling it. I
don't know how else I would check.
you could
- use SHUTDOWNCMD ="|echo $SHELL > /tmp/WhatShellIsInUse" and check
the content of that file after a shutdown is triggered
|
|- proceed
Right, but I don't know what NUT script is actually calling it. I don't
know how else I would check.
On Tue, Aug 4, 2020 at 10:21 AM Manuel Wolfshant
wrote:
> On 8/4/20 4:16 PM, Todd Benivegna wrote:
> > Ok, so now that I think of it, that might not actually work when it is
> > not run by me.
On 8/4/20 4:16 PM, Todd Benivegna wrote:
Ok, so now that I think of it, that might not actually work when it is
not run by me. I guess that it all confirms that it works in Bash,
but I think when it runs on its own it would use Dash...
it uses whatever shell you ask for in the first line of t
Ok, so now that I think of it, that might not actually work when it is not
run by me. I guess that it all confirms that it works in Bash, but I think
when it runs on its own it would use Dash...
The default login shell remains bash. Opening a terminal from the menu or
> shortcut [crtl-alt-t] prov
Ok, gotcha, I did that. I believe Ubuntu uses Bash for user sessions and Dash
fornscripts, so followed your instructions for Dash. I put the getUPStatus bits
in .bashrc and tested in Terminal and got:
UPS status is [OL]:100
So I went ahead and put your SHUTDOWNCMD in upsmon.conf. I think it sho
On Mon, 3 Aug 2020, Todd Benivegna wrote:
Thank you! Sorry for another bonehead question…. Do I replace with
the IP address of the NUT Server/Synology? I’m assuming I would use this
version for use in Dash with Ubuntu, correct?
Yes, you replace with the address of your UPS, for example
"