让梅林R6400支持sftp协议
frp内网穿透基本用法

entware嵌入到移动硬盘,在路由器重启后不生效

妙音 posted @ 2018年12月27日 23:14 in network with tags 路由器 vps , 2748 阅读

环境说明

 
在路由器r6400上挂载了一个移动硬盘,然后在移动硬盘中安装了entware。
 
如果重启了路由器,entware会失效。如何让它在重启时生效呢?
 

 梅林r6400开机启动原理

 
路由器中的操作系统比较特殊
 
1. /etc/profile: 系统做了限制不能修改,所以不可以加脚本
 
2. /jffs/scripts目录: 里面的脚本名固定不可以随便修改,但是可以加自己的内容。
 
| 脚本名         | 作用                   |
|--|--|
| post-mount     | 在挂载磁盘后调用       |
| nat-start      | 在nat配置后调用        |
| services-start | 在系统服务启动后调用   |
| services-stop  | 在系统服务器停止前调用 |
| wan-start      | 在wan网卡启动后调用    |
 

设置entware开机生效

 
entware生效的方法很简单,只需要把u盘中的entware挂载到opt,它就会生效。
 
现在我们把在加到开机启动脚本中
 
打开/jffs/scripts/post-mount把下面内容加到文件末尾。
 
ln -s /tmp/mnt/sda1/entware  /tmp/opt
 

entware服务的开机启动

 
entware服务在/opt/etc/init.d/目录,将自己的shell加到这个目录就可以
 

entware启动参数说明

https://github.com/RMerl/asuswrt-merlin/wiki/User-scripts
 
来源
 

 

Avatar_small
Pak24tv 说:
2021年1月22日 14:03

I am happy to find your distinguished way of writing the post. Now you make it easy for me to understand and implement the concept. Thank you for the post. types of government 4 pillars of democracy summary meaning is water wet or dry factor of 11

Avatar_small
sara 说:
2021年3月25日 22:41

Fantastic blog! Do you have any tips and hints for aspiring writers? I’m planning to start my own website soon but I’m a little lost on everything. Would you propose starting with a free platform like WordPress or go for a paid option? There are so many options out there that I’m completely overwhelmed .. Any suggestions? Many thanks! 9anime reddit

Avatar_small
seo 说:
2021年10月03日 05:22

The attendees who helped me with my booklets that I need to https://www.digitekprinting.com/architectural-drawings out were very professional, and had solid and creative ideas on how they are going to properly layout every page.

Avatar_small
pagalworld 说:
2022年1月12日 01:08

hello!! Very interesting discussion glad that I came across such informative post. Keep up the good work friend

Avatar_small
igtok 说:
2022年1月15日 18:59

This is highly informatics, crisp and clear. I think that everything has been described in systematic manner so that reader could get maximum information and learn many things.

Avatar_small
andrey belyakov 说:
2022年1月19日 13:45

I know this is one of the most meaningful information for me. And I'm animated reading your article. But should remark on some general things, the website style is perfect; the articles are great. Thanks for the ton of tangible and attainable help.

Avatar_small
Starting a payment p 说:
2022年1月26日 18:13

Thanks for sharing this wonderful post. It would be really helpful.

Avatar_small
selling merchant ser 说:
2022年1月29日 19:40

I’m impressed, I have to admit. Truly rarely should i encounter a blog that’s both educative and entertaining, and without a doubt, you’ve hit the nail within the head. Your notion is outstanding; <a href="http://www.shawmerchantgroup.com/home/view/1538/how_much_money_can_you_make_selling_merchant_services_">selling merchant services</a>

Avatar_small
North American Banca 说:
2022年2月01日 18:07

I am incapable of reading articles online very often, but I’m happy I did today. It is very well written, and your points are well-expressed. I request you warmly, please, don’t ever stop writing.

Avatar_small
starting a credit ca 说:
2022年2月01日 19:50

Ha ha a great post! I dread to think how people view me...I would love to be funnier!! <a href="http://www.shawmerchantgroup.com/home/view/518/how_to_start_a_merchant_services_company">starting a credit card processing company</a>

Avatar_small
Best ISO Agent Progr 说:
2022年2月02日 16:44

Your post is very helpful and information is reliable. I am satisfied with your post. Thank you so much for sharing this wonderful post with us.

Avatar_small
8 hour annual securi 说:
2022年2月19日 19:07

Thank you for your sharing. Thanks to this blog I can learn more things. Expand your knowledge and abilities. <a href="http://issinvestigation.com/security-guard-training/8-hour-annual-security-course/">8 hour annual security course</a>

Avatar_small
Click Here 说:
2022年3月13日 19:47

I should assert barely that it's astounding! The blog is informational also always fabricates amazing entities. http://www.riomature.com/cgi-bin/a2/out.cgi?id=84&l=top1&u=https://magazinespost.com/
http://www.riomilf.com/cgi-bin/a2/out.cgi?id=344&l=top77&u=https://magazinespost.com/
http://www.rioteens.net/cgi-bin/a2/out.cgi?id=198&l=top3&u=https://magazinespost.com/
http://www.rivieratoscana.com/gen/inc/redir.asp?URL=https://magazinespost.com/
http://www.romanvideo.com/cgi-bin/toplist/out.cgi?id=cockandb&url=https://magazinespost.com/
http://www.rusteenagers.com/cgi-bin/a2/out.cgi?id=294&l=toplist&u=https://magazinespost.com/
http://www.rutadeviaje.com/librovisitas/go.php?url=https://magazinespost.com/
http://www.s-angels.com/mkr/out.cgi?id=02318&go=https://magazinespost.com/
http://www.samoyede.ro/guestbook/go.php?url=https://magazinespost.com/
http://www.savannahbuffett.com/redirect.php?link_id=53&link_url=https://magazinespost.com//
http://www.savorybabes.com/out.php?id=819&link=https://magazinespost.com//
http://www.scatolo.gs/bin/out.cgi?id=darake&url=https://magazinespost.com/
http://www.scientificsrv.com/link/link.cgi?mode=cnt&hp=https://magazinespost.com//
http://www.scoopoo.com/redir.php?id=https://magazinespost.com/
http://www.scouttools.com/eu.aspx?url=https://magazinespost.com/
http://www.sd1956.si/eng/guestbook/go.php?url=https://magazinespost.com/
http://www.seacreative.net/seacreative/wp-content/themes/Recital/go.php?https://magazinespost.com//
http://www.seefmall.com.bh/LangSwitch/switchLanguage/arabic?url=https://magazinespost.com/
http://www.semtex.ru/go.php?a=https://magazinespost.com//kanye-west
http://www.senwes.co.za/LinkTrack.aspx?i=Falcon&url=https://magazinespost.com/
http://www.sexblackporn.com/cgi-bin/at3/out.cgi?id=170&tag=top&trade=https://magazinespost.com/
http://www.sexyhomewives.com/cgi-bin/atx/out.cgi?id=267&tag=top1&trade=https://magazinespost.com/
http://www.sexymaturemovies.com/cgi-bin/atx/out.cgi?id=23&tag=top&trade=https://magazinespost.com/
http://www.sexysearch.net/rank.php?mode=link&id=13030&url=https://magazinespost.com/
http://www.sgdrivingtest.com/redirect.php?page=www.magazinespost.com
http://www.sharelook.de/adserver/adclick.php?bannerid=1519&zoneid=0&source=&dest=https://magazinespost.com//
http://www.shemaleblacksex.com/cgi-bin/atx/out.cgi?id=277&tag=top1&trade=https://magazinespost.com/
http://www.shemalemovietube.com/cgi-bin/atx/out.cgi?id=39&trade=https://magazinespost.com//
http://www.shemalesforever.com/cgi-bin/rb4/cout.cgi?url=https://magazinespost.com/
http://www.shemaleshd.com/at3/out.cgi?id=91&trade=https://magazinespost.com/
http://www.shiny-lady.com/te3/out.php?s=100;80&u=https://magazinespost.com/
http://www.simmessa.com/twoo/go.php?url=https://magazinespost.com/
http://www.sinaro.org/b2b/redirect.php?url=https://magazinespost.com/
http://www.sistasblackass.com/cgi-bin/at3/out.cgi?id=136&tag=topbtw&trade=https://magazinespost.com/
http://www.site-navi.net/sponavi/rank.cgi?mode=link&id=890&url=https://magazinespost.com/
http://www.slfeed.net/jump.php?jump=https://magazinespost.com/
http://www.sm-bomber.com/mkr/out.cgi?id=02005&go=https://magazinespost.com/
http://www.smilingdeath.com/RigorSardonicous/guestbook/go.php?url=https://magazinespost.com//
http://www.smokinmovies.com/cgi-bin/at3/out.cgi?id=14&tag=toplist&trade=https://magazinespost.com/
http://www.smutgranny.com/cgi-bin/atx/out.cgi?id=316&tag=toplist&trade=https://magazinespost.com/
http://www.snwebcastcenter.com/event/page/count_download_time.php?url=https://magazinespost.com/
http://www.soclaboratory.ru/bitrix/redirect.php?event1=&event2=&event3=&goto=https://magazinespost.com/
http://www.sofion.ru/banner.php?r1=41&r2=2234&goto=https://magazinespost.com//
http://www.soft99.com.tw/redirect.php?action=url&goto=https://magazinespost.com/
http://www.somadoll.com/cgi-bin/at/out.cgi?id=223&trade=https://magazinespost.com/
http://www.sonce.net/redirect.php?url=https://magazinespost.com/
http://www.sparty.dk/offer?id=11&link=https://magazinespost.com/
http://www.spicytitties.com/cgi-bin/at3/out.cgi?id=44&trade=https://magazinespost.com//taylor-swift
http://www.sports.org.tw/c/news_add.asp?news_no=4993&htm=https://magazinespost.com//kanye-west
http://www.stalker-modi.ru/go?https://magazinespost.com/
http://www.stevestechspot.com/ct.ashx?id=9fdcf4a4-6e09-4807-bc31-ac1adf836f6c&url=https://magazinespost.com/
http://www.stocking-glamour.com/cgi-bin/at3/out.cgi?id=174&trade=https://magazinespost.com//
http://www.stocking-maniacs.com/cgi-bin/at3/out.cgi?id=395&tag=toplist&trade=https://magazinespost.com//
http://www.stockinghardcore.com/cgi-bin/atx/out.cgi?id=489&tag=toplist&trade=https://magazinespost.com//
http://www.stopdemand.com/ra.asp?url=https://magazinespost.com//
http://www.stopdemand.org/ra.asp?url=https://magazinespost.com/
http://www.strana.co.il/finance/redir.aspx?site=https://magazinespost.com/
http://www.streetvanners.be/guestbook/go.php?url=https://magazinespost.com/
http://www.strictlycars.com/cgi-bin/topchevy/out.cgi?id=rusting&url=https://magazinespost.com/
http://www.studiomoriscoragni.com/stat2/link_logger.php?url=https://magazinespost.com/
http://www.studnz.co.nz/ra.asp?url=https://magazinespost.com/
http://www.study-online.net/link.php?url=https://magazinespost.com/
http://www.summitcivicfoundation.org/uploadfiles/sess_09/param/link.php?https://magazinespost.com/
http://www.super-tetsu.com/cgi-bin/clickrank/click.cgi?name=BetterMask&url=https://magazinespost.com/
http://www.superiorfemdom.com/cgi-bin/sites/out.cgi?id=dominell&url=https://magazinespost.com/
http://www.survivalbook.ru/forum/go.php?https://magazinespost.com/
http://www.sweetcollegegirls.com/cgi-bin/atx/out.cgi?id=429&tag=tbot&trade=https://magazinespost.com/
http://www.syslh.com/Link/index.asp?action=go&fl_id=70&url=https://magazinespost.com//
http://www.tascher-de-la-pagerie.org/fr/liens.php?l=https://magazinespost.com/
http://www.tces.hlc.edu.tw/dyna/netlink/hits.php?id=140&url=https://magazinespost.com/
http://www.teenlove.biz/cgi-bin/atc/out.cgi?id=24&u=https://magazinespost.com/
http://www.teenmegaland.com/cgi-bin/a2/out.cgi?s=63&u=https://magazinespost.com//kanye-west
http://www.teensexfiles.com/cgi-bin/a2/out.cgi?s=60&u=https://magazinespost.com/
http://www.thaireland.ie/gbook/go.php?url=https://magazinespost.com/
http://www.thefuckigavewentthatway.com/modules/mod_jw_srfr/redir.php?url=https://magazinespost.com//kanye-west
http://www.themalverncollection.co.uk/redirect/?url=https://magazinespost.com/
http://www.thesavedplanet.com.au/linkout.php?url=https://magazinespost.com//
http://www.thevorheesfamily.com/gbook/go.php?url=https://magazinespost.com//kanye-west
http://www.thewebconsulting.com/modules/mod_jw_srfr/redir.php?url=https://magazinespost.com/
http://www.thislife.net/cgi-bin/webcams/out.cgi?id=playgirl&url=https://magazinespost.com/
http://www.tits-bigtits.com/cgi-bin/atx/out.cgi?id=202&trade=https://magazinespost.com/
http://www.tladies.com/cgi-bin/autorank/out.cgi?id=schix&url=https://magazinespost.com/
http://www.tonysteenies.com/cgi-bin/a2/out.cgi?id=596&u=https://magazinespost.com/
http://www.topbuildersolutions.net/clickthrough.aspx?rurl=https://magazinespost.com//kanye-west
http://www.topmudsites.com/cgi-bin/topmuds/out.cgi?id=cougar&url=https://magazinespost.com//
http://www.torque.co.nz/TorqueCMS.php?ln=_link001000013820103161454000339&URL=https://magazinespost.com/
http://www.torrent.ai/lt/redirect.php?url=https://magazinespost.com/
http://www.totallyteenie.com/crtr/cgi/out.cgi?s=52&c=1&l=teenass&u=https://magazinespost.com/
http://www.totzyv.ru/cgi-bin/clicks/redirect.pl?ei=rgb_thai_tour&goto=https://magazinespost.com//
http://www.tourismchiangrai.com/goto.php?id=25&goto=https://magazinespost.com/
http://www.toxxictoyz.com/t/spip_cookie.php?url=https://magazinespost.com//
http://www.trailslesstraveled.com/redirect.php?URL=https://magazinespost.com/
http://www.transexpictures.com/cgi-bin/a2/out.cgi?id=65&l=toplist&u=https://magazinespost.com/
http://www.transsexualmoviepost.com/cgi-bin/a2/out.cgi?id=41&l=toplist&u=https://magazinespost.com/
http://www.triciclo.se/Mailer/Click.asp?cid=b0210795-525e-482f-9435-165934b01877&goto=https://magazinespost.com/
http://www.tscocktail.com/cgi-bin/at3/out.cgi?id=28&tag=toplist&trade=https://magazinespost.com/
http://www.tumimusic.com/link.php?url=https://magazinespost.com//
http://www.uktrademarkregistration.co.uk/JumpTo.aspx?url=https://magazinespost.com/
http://www.unaten.com/link.php?url=www.magazinespost.com
http://www.uniquesexygirls.net/cgi-bin/atc/out.cgi?id=19&u=https://magazinespost.com/

Avatar_small
Click Here 说:
2022年3月14日 21:00

Very detailed post on wonderful ideas. It would be really helpful. <a href="http://dmclaw.cloudhostedresources.com/?task=get&url=https://magazinespost.com/">Click Here</a>
<a href="http://check.seomoz.ir/redirect.php?url=https://magazinespost.com/">Click Here</a>
<a href="http://cs.condenastdigital.com/to/?h1=to,cntelligence,2014-10-27,cta_pdf,Bain:GlobalLuxuryMarketShowsSteadyGrowth&url=https://magazinespost.com/">Click Here</a>
<a href="http://dlibrary.mediu.edu.my/cgi-bin/koha/tracklinks.pl?uri=https://magazinespost.com//">Click Here</a>
<a href="http://dyna.boe.ttct.edu.tw/netlink/hits.php?id=438&url=https://magazinespost.com//">Click Here</a>
<a href="http://www.ktpusan.com/NEW/bin/search/jump.php?url=http://www.magazinespost.com/">Click Here</a>
<a href="http://www.paladiny.ru/go.php?url=https://magazinespost.com//kanye-west">Click Here</a>
<a href="https://dizovo.ru/bitrix/redirect.php?event1=news_out&event2=ckfakel.ru/&event3=3F3F3F+3F3F+AB3F3F3F3F3FBB&goto=https://magazinespost.com/">Click Here</a>
<a href="https://multiply.co.za/sso/flyover/?url=https://magazinespost.com/">Click Here</a>
<a href="https://schnaeppchenfuchs.com/guides/checkout/371?target=https://magazinespost.com/">Click Here</a>
<a href="http://www.searchpoint.net/redir.asp?reg_id=pTypes&sname=/search.asp&lid=1&sponsor=RES&url=https://magazinespost.com/">Click Here</a>
<a href="http://1000love.net/lovelove/link.php?url=https://magazinespost.com/">Click Here</a>
<a href="http://10lowkey.us/UCH/link.php?url=https://magazinespost.com//kanye-west">Click Here</a>
<a href="http://1967vacation.westescalante.com/gbook/go.php?url=https://magazinespost.com//">Click Here</a>
<a href="http://213.187.11.51/language.php?language=en&referer=https://magazinespost.com//">Click Here</a>
<a href="http://365publish.com/links/news/2756?url=https://magazinespost.com/">Click Here</a>
<a href="http://3dcreature.com/cgi-bin/at3/out.cgi?id=187&trade=https://magazinespost.com/">Click Here</a>
<a href="http://3dinterracial.net/cgi-bin/atc/out.cgi?id=51&u=https://magazinespost.com/">Click Here</a>
<a href="http://3dsexmadness.com/cgi-bin/atc/out.cgi?id=105&u=https://magazinespost.com/">Click Here</a>
<a href="http://3xse.com/fcj/out.php?url=https://magazinespost.com/">Click Here</a>
<a href="http://4geo.me/redirect/?service=catalog&url=https://magazinespost.com/">Click Here</a>
<a href="http://5cfxm.hxrs6.servertrust.com/v/affiliate/setCookie.asp?catId=1180&return=https://magazinespost.com/">Click Here</a>
<a href="http://69dom.ru/redirect?url=https://magazinespost.com//kanye-west">Click Here</a>
<a href="http://a3.adzs.nl/click.php?template_id=62&user=4&website_id=1&sponsor_id=7&referer=http://a1galleries.com/go/index.php&zone=8&cntr=us&goto=https://magazinespost.com//">Click Here</a>
<a href="http://ab-search.com/rank.cgi?mode=link&id=107&url=https://magazinespost.com/">Click Here</a>
<a href="http://abort.ee/banner?banner_id=25&redirect=https://magazinespost.com/">Click Here</a>
<a href="http://ace-ace.co.jp/cgi-bin/ys4/rank.cgi?mode=link&id=26651&url=https://magazinespost.com/">Click Here</a>
<a href="http://acropoledf.comunicacaoporemail.net/registra_clique.php?id=TH|teste|147073|9991&url=https://magazinespost.com/">Click Here</a>
<a href="http://action.ae911truth.org/dia/logout.jsp?killorg=50694&redirect=https://magazinespost.com/">Click Here</a>
<a href="http://ad.dyntracker.de/set.aspx?dt_subid1=&dt_subid2=&dt_keywords=&dt_freedownload+xxx+videos=&dt_url=https://magazinespost.com/">Click Here</a>

Avatar_small
ฝาก 100 รับ 300 说:
2022年3月25日 13:50

I think most people appreciate honesty of character, so just be yourself. Or looking at it a different way, you can never please everyone so don't try! <a href="http://romaslotvip.com/register-slot-today/">ฝาก 100 รับ 300</a>

Avatar_small
nusabet 说:
2022年4月07日 02:07

That's Wonderful! Many things to learn your site thank you for sharing.

Avatar_small
SobatJP 说:
2022年4月09日 15:00

Bandar Slot Gacor Bet Terkecil &Situs Slot Gacor Bet Rendah SobatJP https://45.130.104.35

Avatar_small
UK FAKE ID 说:
2022年4月15日 14:49

I have got to an age where I do not give a what people think of me, other than the people that I really love.

Avatar_small
security guard compa 说:
2022年5月02日 14:29

Haha great post! I don't really mind how people see mw!

Avatar_small
pgslot1688 说:
2022年5月23日 15:04

I love this post. Must be so hard to write a guest post so well done.

Avatar_small
ปั่นสล็อต 说:
2022年5月23日 16:41

That's Wonderful! Many things to learn your site thank you for sharing.

Avatar_small
https://www.pgslot16 说:
2022年5月23日 17:51

Thanks for sharing. Amazing article. <a href="http://pgslot1688.me/play-slots-fast-vs-cool/">https://www.pgslot1688.me</a>

Avatar_small
https://pgslot789.li 说:
2022年5月23日 20:11

great info on this website. <a href="http://pgslot789.live/register-get-no-deposit-bonus-50-baht/">https://pgslot789.live</a>

Avatar_small
Pg slot 789 说:
2022年5月23日 21:43

I love this post. Must be so hard to write a guest post so well done.<a href="https://pgslot789.live/">Pg slot 789</a>

Avatar_small
สล็อต789 说:
2022年5月23日 22:41

Awesome dispatch! I am indeed getting apt to over this info, is truly neighborly my buddy. Likewise fantastic blog here among many of the costly info you acquire. Reserve up the beneficial process you are doing here.

Avatar_small
pg slot true walle 说:
2022年5月23日 22:58

That's Wonderful! Many things to learn your site thank you for sharing. <a href="http://superpgslot888.com/">pg slot true wallet</a>

Avatar_small
pg slot wallet 说:
2022年5月23日 23:55

Great idea, I really should have a tidy up!! <a href="http://superpgslot888.com/">pg slot wallet</a>

Avatar_small
pg slot โปรโมชั่น 说:
2022年5月24日 02:54

very interesting keep posting. <a href="http://superpgslot888.com/superpgslot888-promotion/">pg slot โปรโมชั่น</a>

Avatar_small
joker slot 123 说:
2022年5月24日 03:48

Thanks for sharing this wonderful post. It would be really helpful. <a href="http://jokerslot123.me/">joker slot 123</a>

Avatar_small
Pandaslot88 说:
2022年8月02日 16:56

Pandaslot88 Situs Judi Slot Gacor Deposit Pulsa Online Terpercaya 2022

Avatar_small
dark web/deep web/d 说:
2022年8月09日 15:08

Pay per click advertising is one of the easiest ways to make money on the Internet. By purchasing targeted ad space, you can place targeted links on other sites and make money.  dark web links

Avatar_small
dark web/deep web/d 说:
2022年8月09日 15:44

Link farms mainly gather links from web directories which are not related to the content of the website. This is a common problem on most farms.  deep web

Avatar_small
dark web/deep web/d 说:
2022年8月09日 16:54

There are several ways to use these dark web websites to check out anyone using credit cards. The first way is to look up the social networking accounts of the person.  dark web sites

Avatar_small
dark web/deep web/d 说:
2022年8月09日 19:27

You might have heard about the dark web. The internet that is hidden from plain sight.  dark web links

Avatar_small
dark web/deep web/d 说:
2022年8月09日 22:32

The first thing you should do is research the internet about the company to see what other users have said about their experience using their services.  dark web

Avatar_small
dark web/deep web/d 说:
2022年8月09日 23:19

They would like to be able to go to their favorite search engine and find an affiliate-marketing site and click on it to get all their traffic and make some money.  work from home jobs

Avatar_small
dark web/deep web/d 说:
2022年8月09日 23:44

You then put a link back to your ClickBank website. People will click on this link because it is free and because it looks cool. affiliate marketing success


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter