I tried to replace/restore credentials file but it doesn't work.
I wrote custom script for it:
mount -uw /net/mmx/fs/sda0/
# Check if the credentials file exists in the destination directory
if [ -e "/net/mmx/ramdisk/credentials" ]; then
echo "The credentials file has been found in the destination directory and will be overwritten."
cp -f /net/mmx/fs/sda0/mycreds/credentials /net/mmx/ramdisk/
echo "Successfully replaced credentials file on MIB device"
else
echo "The credentials file is not found in the destination directory. Aborting the copying process."
fi
I tried to replace/restore credentials file but it doesn't work. I wrote custom script for it:
What is wrong? How to replace credentials?