Join Today
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2006
    Location
    Lansing, MI, USA
    Posts
    612

    Default Scripting dirving me crazy!

    Okay, so we can finally run LIN scripts in file manager on E2.

    But!! I cannot seem to get even the simplest of commands to work.

    For example, this script works (not my script)

    #!/bin/bash

    start-stop-daemon -S -c root -x /sbin/reboot
    But, this won't:
    #!/bin/bash

    mkdir /mmc/mmca1/Theme
    exit
    I'm still slightly new at scripting, so any pointers will be greatly appreciated. I'd hate to be a noob, but what am i doing wrong? If no one knows, could someone point me to somewhere i can find out? Thanks everyone!

  2. #2
    Join Date
    Sep 2006
    Location
    Rio de Janeiro, Brasil
    Posts
    117

    Default

    Try to change to
    Code:
    #!/bin/sh
    mkdir /mmc/mmca1/Theme
    The exit is not necessary
    I don't know if you have bash so it is better to change to sh , in some plataform is a synlink to bash, but in your phone I don't know.
    And you must have the path /mmc/mmca1 in the phone .

    I hope this help.
    Brazilian Motorola User
    A1200 , 08P

  3. #3
    Join Date
    Oct 2006
    Location
    Lansing, MI, USA
    Posts
    612

    Default

    thank you very much!

    But, however, it still hasn't worked...

    Allegedly, the f/w that i have will run LIN files. I've tried packing it in a MPKG, and installing it in the phone, and have also just copied the LIN file to the MMC folder and even into the ezxlocal folder... No luck... man.. I can't seem to figure it out.


 
+ Reply to Thread

Similar Threads

  1. Phone gone crazy
    By kdubbs in forum A1200 General Chat
    Replies: 5
    Last Post: 08-02-2009, 09:22 AM
  2. Crazy tones
    By vinayinfo in forum Moto Ringz
    Replies: 5
    Last Post: 06-12-2009, 07:48 AM
  3. 43 Crazy Frog MP3 Tones
    By sandman in forum Moto Ringz
    Replies: 3
    Last Post: 12-14-2007, 09:21 AM
  4. Help! Crazy USB problems.
    By dattakent in forum E6 General Chat
    Replies: 14
    Last Post: 08-17-2007, 08:23 AM
  5. Scripting woes
    By cesarcardoso in forum Development
    Replies: 1
    Last Post: 12-13-2006, 08:22 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1