Opened 3 years ago

#1403 new

Special scripts (.if .ipup .ipdown) not working

Reported by: phuzi0n Owned by: somebody
Keywords: Cc:

Description

It has been tested that *.if scripts no longer work. I used the following commands to test it:

mkdir /tmp/etc/config
echo "touch /tmp/testif" > /tmp/etc/config/test.if
chmod +x /tmp/etc/config/test.if
ifconfig wl0.1 down
# also tested with my wan interface eth1
ifconfig wl0.1 up
ls /tmp/testif
# returns no output because the file has not been created by the touch command in the script

I've searched and found no references to any of these in the source:
runStartup("/tmp/etc/config", ".if");
runStartup("/tmp/etc/config", ".ipup");
runStartup("/tmp/etc/config", ".ipdown");

http://www.dd-wrt.com/wiki/index.php/Script_Execution

http://www.dd-wrt.com/phpBB2/viewtopic.php?t=67102

Change History (0)

Note: See TracTickets for help on using tickets.