Hi,
I noticed that if the variable LINE_TYPE is not set in
/etc/amedyn,this script exits without a proper error
message (in fact erroneosly calls amload this way:
amload -fcs --linetype
when it should be
amload -fcs
With this patch I simply check that LINE_TYPE is
present before adding --linetype parameter.
Please test it ;-)
Vincenzo
Logged In: YES
user_id=742802
Are this line ok?
LOADPRMS= $"-fcs"
The $ before " in this line and with the command 'echo' is
unknow for me, and i don't find anything about it. I don't
write this scripts...
Logged In: YES
user_id=433085
Ok, ok, I didn't test before (because I didn't have a
linuxbox at hand) but this should be correct.
The correct line should be
LOADPRMS=$"-fcs"
not
LOADPRMS= $"-fcs"
The whitespace was the error. but I canceled also the $, it
seems the same..btw.
Test it now, please... Thx ;)
amload (Verified version)
amstart script (handles better RESYNC variable)
Logged In: YES
user_id=433085
...and here's my modified version of amstart.h
I modified it because I had not set the variable RESYNC in
/etc/amedyn , when I first installed the package.
This led to an error in the final
if [ "$RESYNC" -eq 1 ]; then
that I corrected whith
if [[ "$RESYNC" -eq 1 ]]; then
Try to comment the line about RESYNC in /etc/amedyn and tell
me if it works...
Vincenzo
Logged In: YES
user_id=742802
I'm update the CVS. I hope the changes fix the problem.