Hello,
It is a snippet for creating a SWAP, as follows:
sudo fallocate -l 4G /swapfile sudo chmod 600 /swapfile sudo mkswap /swapfile sudo swapon /swapfile echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab
To replicate the problem, the order of moves is as follows:
1) I set the variable {1} to "Text" mode and enter the default value 4G.
2) Enter the SSH command:
sudo fallocate -l {1} /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab3) I save the dialogue.
4) I'm editing the dialog and the variable {1} has changed its mode to "Secured", and the value of that part of the snippet is literally scrambled in the absolute sense.
Best Regards,
Ljubomir Manojlovic
02.jpg
01.jpg
Hi,
I can reproduce your issue. We've opened a ticket and we will look into it.
Best regards,
Xavier Fortin
Hello,
By the way, while they are fixing it, I have one question.
I generally agree with the programmer's approach that under normal circumstances 5 variables are sufficient. However, I use a lot of third-party scripts where there are significantly more than 5 variables (often over 10), so for those cases, this rdmfunction becomes useless.
In question are scripts that I believe are relatively popular. Let's say from LiteSpeed, OpenLiteSpeed, Hestia Panel, Cyber Panel, ... scripts related to the use of VPS instances in the clouds.
For example, the Hestia Panel script generator (https://gabizz.github.io/hestiacp-scriptline-generator/) has 26 variables (not all of them are for variables in RDM).
QUESTION/SUGGESTION/FEATURE REQUEST
Can an option to add variables be added?
Best Regards,
Ljubomir Manojlovic
I'll open a ticket for this and it will be discussed internally.
Best regards,
Xavier Fortin
Hello,
Thanks.
Best Regards,
Ljubomir Manojlovic
Hello,
The issue should be solved in our latest version of RDM Mac (2024.1.5.1).
If there's anything don't hesitate to communicate with us.
Best regards,
Michel Lambert