Joined: 16 Apr 2018
Location: Milwaukee, WI
|Posted: Thu Jan 19, 2023 1:10 Post subject: permanently adding directory to $PATH in DDWRT Entware
|I just installed entware on my DDWRT router. After installation I get the following message adding and to the variable. Howver, in my DDWRT terminal (after sshing into it), there is not /root/.bashrc or /root/.profile to add these directories to my $PATH in ddwrt.
|Info: If there are no errors above then Entware was successfully initialized.
Info: Add /opt/bin & /opt/sbin to $PATH variable
Info: Add "/opt/etc/init.d/rc.unslung start" to startup script for Entware services to start
Info: Found a Bug? Please report at https://github.com/Entware/Entware/issues
My question is, what file in DD-WRT is the equivelant of or in linux, so I can properly add these directories to my $PATH? How exactly do I change my $PATH variable in the DD-WRT Terminal?
DanRanRocks - Tech Tutorials by Dan Ran
My Blog https://danran.rocks
Join me on key base! and Add me on Keybase
Current Linksys WRT3200acm Firmware "DD-WRT v3.0-r51140 std (12/31/22)