What's new

/jffs/scripts/ files missing after restart router

  • 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!

3-50

New Around Here
router: RT-AC66U
firmware: Asuswrt-Merlin - build 3.0.0.4.270.26b

Enable JFFS partition: Yes
Format JFFS partition at next boot: Yes
Apply
Reboot router.

Win-R -> telnet
Code:
cd /jffs/scripts/
wget -O ./lanauth.tgz [url]http://wl500g.info/attachment.php?attachmentid=9243&d=1344967145[/url]
tar -xvzf ./lanauth.tgz
echo "#!/bin/sh" > /jffs/scripts/services-start
echo /jffs/scripts/lanauth -p'bla-bla' -l2 -v2 >> /jffs/scripts/services-start
chmod +x /jffs/scripts/services-start
ls
[I]-rwxrwxr-x    1 3-50     root         24476 Aug 14  2012 lanauth
-rw-rw-rw-    1 3-50     root         12192 Mar 21 00:38 lanauth.tgz
-rwxrwxrwx    1 3-50     root            51 Mar 21 00:39 services-start[/I]
Reboot router.

Win-R -> telnet
Code:
cd /jffs/scripts/
ls
[I]Nothing [/I]
why? :(
 
Sometimes it's best to do a second reboot after the first one if you just formatted the partition. See if you still lose content then.
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top