Gen2 mfg_start magic string

Does anybody know what the magic string is that mdg_start is looking for? I thought it was “mfg_WDMyCloud”.

RAC

I was unable to locate information, documents or posts related to this. Hopefully an experienced User will be able to assist.

It would appear that the string is sn00py. When the system boots it checks for two files.
fun_plug and mfg_WDMyCloud If they exits it created a temp file in the tmp directory. When
the system is done booting up it checks for this file in the tmp directory. If it exists it calls
mfg_start which checks the mfg_WDMyCloud file. If it contains mfg_WDMyCloud and sn00py
it executes the fun_plug script.

I created a file on a usb drive called mfg_WDMyCloud. In the file is two lines
mfg_WDMyCloud
sn00py

I then created a file called fun_plug on the same usb drive. In this file to test if it worked
I put the following command
touch /tmp/tempfile

After reboot the tempfile was in the /tmp directory.
We should now be able to use this to make changes to the gen2 system after a reboot.

RAC

1 Like