Results 1 to 5 of 5

Thread: post-boot ??

  1. #1
    Join Date
    Dec 2005
    Location
    Netherlands
    Posts
    14

    post-boot ??

    Hi,

    I want to start kaid via my post-boot script.
    The kaid files are on my usb-drive (/tmp/harddisk)
    I changed my post-boot (/usr/local/sbin/post-boot) to the following:

    #!/bin/sh
    dropbear
    cd /tmp/harddisk
    ./kaid -d -c ./kaid.conf


    After flashfs save/commit/enable I rebooted the router.

    After that i started puttty:

    ps -a shows dropbear running, but kaid isn't.

    What am i doing wrong?

    Gr.

    JB

  2. #2
    Maybe /tmp/harddisk isn´t mounted in the moment of calling cd /tmp/harddisk?

  3. #3
    Join Date
    Dec 2005
    Location
    Netherlands
    Posts
    14
    Could be.

    How do i test that?
    What should I do?

    JB

  4. #4
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    You've to use post-mount.

  5. #5
    Join Date
    Dec 2005
    Location
    Netherlands
    Posts
    14
    Thanks,

    It works.

Similar Threads

  1. Post Your Useful Scripts
    By tomilius in forum WL-500g Custom Development
    Replies: 2
    Last Post: 05-06-2005, 10:01
  2. Ftp Wan
    By CPTC in forum WL-500g Q&A
    Replies: 9
    Last Post: 07-04-2005, 21:23
  3. web interface loads only occasionally during boot
    By oferlaor in forum WL-500g Q&A
    Replies: 5
    Last Post: 18-10-2004, 10:48

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •