mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-03-18 17:27:20 +01:00
16 lines
223 B
Bash
Executable File
16 lines
223 B
Bash
Executable File
#!/bin/sh
|
|
|
|
N=$1
|
|
|
|
if which opendiff > /dev/null 2>&1; then
|
|
TOOL="opendiff"
|
|
elif which tkdiff > /dev/null 2>&1; then
|
|
TOOL="tkdiff -b -B "
|
|
else
|
|
TOOL="diff -U 8 -b -B "
|
|
fi
|
|
|
|
${TOOL} firewall${N}.fw.orig firewall${N}.fw
|
|
|
|
|