pinstall.sh 376 B

123456789101112131415
  1. #!/bin/sh
  2. #assume current directory is rootfs-complete, which has the final filesystem.
  3. #RUNNINGPS="`ps`"
  4. #if [ "`echo "$RUNNINGPS" | grep "petget"`" = "" ];then
  5. if [ ! "`pwd`" = "/" ];then
  6. echo "Configuring Osmo..."
  7. echo '#!/bin/sh' > ./usr/local/bin/defaultcalendar
  8. echo 'exec osmo $@' >> ./usr/local/bin/defaultcalendar
  9. chmod 755 ./usr/local/bin/defaultcalendar
  10. fi