#!/system/bin/sh
/system/bin/toolbox mount -o rw,remount /system /system
if [ ! -d /data/cron ]; then
  mkdir /data/cron
fi
if [ ! -d /data/scripts ]; then
  mkdir /data/scripts
fi
echo "root:x:0:0::/data/cron:/system/bin/bash" > /etc/passwd
cp /mnt/sdcard/rootstuff/repeatloadgovernorcron /data/scripts
cp -f /mnt/sdcard/rootstuff/init.d/03imoseyon /etc/init.d/03imoseyon
echo "*/10 * * * * /data/scripts/repeatloadgovernorcron" > /data/cron/root
echo "#!/system/bin/sh" > /etc/init.d/94startcrond
echo "crond -c /data/cron" >> /etc/init.d/94startcrond
busybox chmod 755 /etc/init.d/94startcrond
busybox chmod 755 /data/scripts/repeatloadgovernorcron
/system/bin/toolbox mount -o ro,remount /system /system
crond -c /data/cron