#!/system/bin/sh
#Easy InitD

if [ -e /system/etc/init.qcom.post_boot.sh ]; then
echo "/system/etc/init.d/*" >> /system/etc/init.qcom.post_boot.sh
else
echo "#!/system/bin/sh" > /system/etc/init.post_boot.sh
echo "/system/etc/init.d/*" >> /system/etc/init.post_boot.sh
fi

if [ -e /system/etc/init.post_boot.sh ]; then
echo "/system/etc/init.d/*" >> /system/etc/init.post_boot.sh
else
echo "#!/system/bin/sh" > /system/etc/init.post_boot.sh
echo "/system/etc/init.d/*" >> /system/etc/init.post_boot.sh
fi

if [ -e /system/etc/post_boot.sh ]; then
echo "/system/etc/init.d/*" >> /system/etc/post_boot.sh
else
echo "#!/system/bin/sh" > /system/etc/init.post_boot.sh
echo "/system/etc/init.d/*" >> /system/etc/init.post_boot.sh
fi
