search for: mywhich

Displaying 2 results from an estimated 2 matches for "mywhich".

Did you mean: mwhich
2013 Dec 17
1
shorewall add fails with IPSET=
...+ /usr/share/shorewall/lib.cli 2013-12-17 22:54:04.843146111 +0100 @@ -582,7 +582,7 @@ determine_ipset_version() { local setname - if [ -z "$IPSET" -o $IPSET = ipset ]; then + if [ -z "$IPSET" -o "$IPSET" = "ipset" ]; then IPSET=$(mywhich ipset) [ -n "$IPSET" ] || fatal_error "The ipset utility cannot be located" fi After applying it, the above command yelds: # shorewall add ppp:192.168.33.3 ptp Host ppp:192.168.33.3 added to zone ptp Maybe the small patch could be included in some new version. Th...
2009 Dec 06
6
shorewall6-lite's shorecap sourcing /usr/share/shorewall-lite/lib.base?
...lurking about as well. Also, the first line of the determine_capabilities() function in lib.base is: qt $IP6TABLES -t mangle -L -n && MANGLE_ENABLED=Yes || MANGLE_ENABLED= which is followed somewhat further down in the function with: [ -n "$IP6TABLES" ] || IP6TABLES=$(mywhich ip6tables) But shouldn''t the test for the mangle table come after the conditional setting of IP6TABLES? FWIW, the difference in shorecap output when I make the shorewall-lite -> shorewall6-lite changes and fix the IP6TABLES bug above is: @@ -1,7 +1,6 @@ # -# Shorewall 4.2.8 detected...