0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-27 05:08:56 +00:00
termux-packages/root-packages/vlan/vconfig.patch
2022-12-04 04:53:49 +00:00

21 lines
394 B
Diff

--- a/vconfig
+++ b/vconfig
@@ -45,7 +45,7 @@
ARGC=$(expr $# + 1)
-STATEDIR=/run/network/vlan
+STATEDIR=@TERMUX_PREFIX@/var/run/network/vlan
echo "" >&2
echo "Warning: vconfig is deprecated and might be removed in the future, please migrate to ip(route2) as soon as possible!" >&2
@@ -59,7 +59,7 @@
fi
ip () {
- /sbin/ip "$@"
+ @TERMUX_PREFIX@/bin/ip "$@"
}
condret () {