Automatic write enabling on SSH connection

From MIB-Helper.com Wiki
Revision as of 13:29, 17 May 2026 by Mr-fix (talk | contribs)
Jump to navigation Jump to search

.profile method

ssh root@10.173.189.1

mount -uw /net/mmx/mnt/app 
echo "/bin/mount -uw /net/mmx/fs/sda0 2>/dev/null" >> /net/mmx/mnt/app/root/.profile
echo "/bin/mount -uw /net/mmx/fs/sda1 2>/dev/null" >> /net/mmx/mnt/app/root/.profile
echo "/bin/mount -uw /mnt/app" >> /net/mmx/mnt/app/root/.profile
echo "/bin/mount -uw /mnt/system" >> /net/mmx/mnt/app/root/.profile
sync
mount -ur /net/mmx/mnt/app

exit