For anyone that might be interested. I created a small script to perform the revert.
revert.sh:
$this->bbcode_second_pass_code('', '
#!/bin/sh
fw_set_env()
{
command="blparam $*"
echo ${command}
sudo ${command} >/dev/null
}
sudo pacman -Q | grep blparam >/dev/null
if [ $? -eq 0 ]
then
fw_set_env mainlineLinux no
fw_set_env arcNumber
fw_set_env bootcmd run boot_nand
echo
echo "Powering down..."
echo "Remove HD and apply power to Pogoplug"
echo
sudo sync
sudo poweroff
else
echo
echo "pogoplug-blparam is not install!"
echo
fi')
To use this you first need to install the pogoplug-blparam package.