Modifying the reset button of tplink

hi god bless to all!

i manage to come up with this idea in order to have an openvpn switch by not opening inside the router
i just edited the rfkill/reset fucntion in rcbutton with this "


cp -f /etc/openvpn/1/provider.conf /etc/openvpn/
/etc/init.d/openvpn restart

return 0

it just a simple uci command that i put there....everyting works but only 2 config files can be don with this..

here's my question is it possible to make a code at reset buttong fucntion like press once - 1st openvpn config press twice 2nd openvpn config press 3 times maybe 3rd config and so is 4 times and 5 times

would that be would be helpful...if i can change my openvpn by doing this one!!!