diff options
author | Ivan Alejandro <ivanalejandro0@gmail.com> | 2015-04-23 12:41:08 -0300 |
---|---|---|
committer | Ivan Alejandro <ivanalejandro0@gmail.com> | 2015-05-07 16:42:08 -0300 |
commit | 456941648223a14fe144264c27a5dce4e4e702e5 (patch) | |
tree | a9b8439d02ef6c47a21f609589d30fe8e4df93ca | |
parent | 81f6c71ef80b7070538f87d209f60c01dc0a27db (diff) |
[bug] change the ip command location to /sbin/
Change the 'ip' command location to support Fedora/RHEL distros.
/bin/ip is pressent on Debian/Ubuntu but not on Fedora.
/sbin/ip is a symlink to /bin/ip on Debian/Ubuntu and a binary on Fedora.
- Resolves: #6894
-rw-r--r-- | changes/bug-6894_change-ip-command-location | 1 | ||||
-rwxr-xr-x | pkg/linux/bitmask-root | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/changes/bug-6894_change-ip-command-location b/changes/bug-6894_change-ip-command-location new file mode 100644 index 00000000..f141fc90 --- /dev/null +++ b/changes/bug-6894_change-ip-command-location @@ -0,0 +1 @@ +- Change 'ip' command location to support Fedora/RHEL distros. Closes #6894. diff --git a/pkg/linux/bitmask-root b/pkg/linux/bitmask-root index 6fb1f0b3..80ac12e8 100755 --- a/pkg/linux/bitmask-root +++ b/pkg/linux/bitmask-root @@ -73,7 +73,7 @@ def get_no_group_name(): return None -VERSION = "5" +VERSION = "6" SCRIPT = "bitmask-root" NAMESERVER = "10.42.0.1" BITMASK_CHAIN = "bitmask" @@ -85,7 +85,7 @@ LOCAL_INTERFACE = "lo" IMAP_PORT = "1984" SMTP_PORT = "2013" -IP = "/bin/ip" +IP = "/sbin/ip" IPTABLES = "/sbin/iptables" IP6TABLES = "/sbin/ip6tables" |