Skip to content
This repository has been archived by the owner on Nov 29, 2020. It is now read-only.

Commit

Permalink
update readme and defenv
Browse files Browse the repository at this point in the history
  • Loading branch information
paldier committed Apr 30, 2019
1 parent f1f32ff commit cbb6f5a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 2 additions & 0 deletions README.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ hw_version: (A1 x B1 √ B1G √ B2 x C1 √)
![image](http://github.com/paldier/K3C-merlin/raw/master/merlin.png)
a special PCIe x1 single daughter board is required, you can buy it from taobao.com

based on asuswrt and some code come from https://github.com/RMerl/asuswrt-merlin.ng

The GPL source is created for ASUS wireless router related products. Please visit the ASUS support site (http://support.asus.com) to get the latest GPL tarball.It has a lot in common with many wireless router open source projects, including Oleg/Tomato/DD-WRT/OpenWRT. Thanks the developers of those projects for making the source code available.

Set Up Environment(Tested in Fedora 8/9 and Ubuntu)
Expand Down
9 changes: 6 additions & 3 deletions release/src/router/rc/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ static char *defenv[] = {
"HOME=/",
//"PATH=/usr/bin:/bin:/usr/sbin:/sbin",
#ifdef RTCONFIG_LANTIQ
"PATH=/opt/usr/bin:/opt/bin:/opt/usr/sbin:/opt/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/rom/opt/lantiq/bin:/rom/opt/lantiq/usr/sbin",
"PATH=/opt/usr/bin:/opt/bin:/opt/usr/sbin:/opt/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/rom/opt/lantiq/bin:/rom/opt/lantiq/usr/sbin:/jffs/softcenter/bin:/jffs/softcenter/scripts",
#else
"PATH=/opt/usr/bin:/opt/bin:/opt/usr/sbin:/opt/sbin:/usr/bin:/bin:/usr/sbin:/sbin",
"PATH=/opt/usr/bin:/opt/bin:/opt/usr/sbin:/opt/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/jffs/softcenter/bin:/jffs/softcenter/scripts",
#endif
#ifdef HND_ROUTER
"LD_LIBRARY_PATH=/lib:/usr/lib:/lib/aarch64",
Expand All @@ -115,7 +115,10 @@ static char *defenv[] = {
#endif
#endif
#ifdef RTCONFIG_LANTIQ
"LD_LIBRARY_PATH=/lib:/usr/lib:/opt/lantiq/usr/lib:/opt/lantiq/usr/sbin/:/tmp/wireless/lantiq/usr/lib/",
"LD_LIBRARY_PATH=/lib:/usr/lib:/opt/lantiq/usr/lib:/opt/lantiq/usr/sbin/:/tmp/wireless/lantiq/usr/lib/:/jffs/softcenter/lib",
#endif
#ifdef RTCONFIG_RTAC3100
"LD_LIBRARY_PATH=/lib:/usr/lib:/jffs/softcenter/lib",
#endif
"SHELL=" SHELL,
"USER=root",
Expand Down

0 comments on commit cbb6f5a

Please sign in to comment.