Results 1 to 2 of 2

Thread: Can't get post-mount or post-firewall scripts to work

  1. #1

    Can't get post-mount or post-firewall scripts to work

    Update: As soon as I posted this, the post-firewall script started working, but post-mount still isn't. Ideas?

    I'm trying to get a script to run after the hd is mounted..or even at boot with Oleg's pre9 firmware, but nothing happens on boot.
    here are my scripts
    post-mount is
    echo foo > /tmp/postmount
    swapon -a

    and post-firewall is
    echo foo > /tmp/postfirewall
    swapon -a

    permissions are:
    ls -l /usr/local/sbin/*
    -rwxr-xr-x 1 admin root 46 Jul 29 18:30 /usr/local/sbin/post-firewall
    -rwxr-xr-x 1 admin root 40 Jul 29 13:06 /usr/local/sbin/post-mount

    The files in /tmp don't created and swap doesn't get activated on boot.
    Any ideas on what i am missing? flashfs save/commit/enable makes the files persist, but the scripts don't get run at boot.
    Last edited by metalpriest; 30-07-2007 at 07:31. Reason: typos

  2. #2
    Join Date
    Aug 2008
    I have same problem with post-mount So, in this point I can`t start any application from my hdd
    Permissions are same, and flashfs commands was executed...
    Any ideas ?

    Thank You

    // Now, everything is working fine. I made a mistake in post-mount script (didn`t start with #!/bin/sh, but with #/bin/sh. I missed "!"). Sorry if i was bothering you
    Last edited by iGz; 16-08-2008 at 15:22.

Similar Threads

  1. Can't mount usb hdd
    By jjpujante in forum WL-500gP Q&A
    Replies: 0
    Last Post: 01-07-2007, 12:42
  2. Replies: 2
    Last Post: 29-06-2007, 00:33
  3. can not mount prevous partitions?
    By sparkY in forum WL-HDD Q&A
    Replies: 1
    Last Post: 20-03-2007, 21:17
  4. Mount problem (strenge)
    By qczek in forum WL-500g Custom Development
    Replies: 1
    Last Post: 01-02-2006, 14:05
  5. Wireless Firewall doesn't work
    By AcXeller in forum WL-500g Q&A
    Replies: 2
    Last Post: 08-06-2004, 18:13

Posting Permissions

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