script won't run

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

  1. XIII

    Are there limitations when using cron?

    Since 1Password now offers a nice CLI that works on our router, I'm trying to make my scripts more secure, by no longer hardcoding credentials. However I notice something weird when testing this: Experiment 1 /jffs/scripts/test1: #!/bin/sh logger test1 /opt/bin/op run...
  2. T

    Scripts help please

    Hi I am trying to write a script that runs a command to push my usb into another mode but it doesn't seem to be running at boot... I'm not sure what I am doing wrong? #!/bin/sh usb_modeswitch -v 0x1410 -p 0x9020 -u 2 This is the script. I put it in /jffs/scripts and made it executable...
  3. S

    wan-event script not executed

    Hi! My old wan-start worked fine. After updating to firmware .15 I renamed it to wan-event and adapted it to consider the new parameters. But it doesn't call the "wan-event-connected.user script" anymore in its code. What is wrong with the following code of the wan-event script? #!/bin/sh if...
  4. M

    smb.postconf not doing anything

    I'm trying to insert some veto rules into my smb.conf file via the following smb.postconf, located at /jffs/scripts/smb.postconf: #!/bin/sh CONFIG=$1 sed -i '' 's:veto files = :veto files = /._*/.DS_Store/.Trashes/.TemporaryItems:g' $CONFIG Unfortunately it doesn't appear to have any effect...
  5. Wrong World

    User script fired on changing guest networks?

    Hello, This is my first post in this forum. It is now three weeks that I am reading many posts here on how to better tailor my RT-AC66U_B1 router (running Asuswrt-Merlin 380.69_2) to my needs. So, piece by piece, I've assembled a quite lenghty firewall-start script and a much smaller nat-script...
  6. Z

    JFFS Script Not Running

    My script should change the TTL value of all outbound routed packets to 65. I added the suggested lines to add to logger, and to 'touch' to /tmp. Quick sidenote: My phone is tethered to the router, so the wan is not receiving access to the internet to set the timestamp, so my router logs July...
Top