#!/bin/sh
#assume current directory is rootfs-complete, which has the final filesystem.

#RUNNINGPS="`ps`"
#if [ "`echo "$RUNNINGPS" | grep "petget"`" = "" ];then
if [ ! "`pwd`" = "/" ];then

 echo "Configuring Osmo..."

 echo '#!/bin/sh' > ./usr/local/bin/defaultcalendar
 echo 'exec osmo $@' >> ./usr/local/bin/defaultcalendar
 chmod 755 ./usr/local/bin/defaultcalendar

fi
