Files
termux-packages/root-packages/vlan/vconfig.patch
termux-pacman-bot 500b5c39fb new package: vlan
2022-12-04 05:01:18 +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 () {