Ah...
I have another idea.
put xepdmgr and mybootscript.sh in /home/root. And use the following code in .start.sh:
Code:
if [ -f /home/root/mybootscript.sh ]; then
chmod 777 /home/root/mybootscript.sh
chmod 777 /home/root/xepdmgr
. /home/root/mybootscript.sh
mv /home/root/mybootscript.sh /home/root/_mybootscript.sh
else
/usr/bin/displayMgr -p &
fi
Thus, it will be back to displayMgr in the next boot. Create a action in contentlister to execute "mv /home/root/_mybootscript.sh /home/root/mybootscript.sh" will reactivate xepdmgr in the next boot.
If xepdmgr failed, there still a chance it will back to normal in the next boot.