#!/bin/sh
if [ ! -f /reboottest.sh ]; then
touch /reboottest.sh
echo "#!/bin/sh" > /reboottest.sh
echo "sleep 10" >> /reboottest.sh
echo "reboot -f" >> /reboottest.sh
chmod +x /reboottest.sh
fi
cd /
./reboottest.sh &