mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-03-19 09:47:20 +01:00
16 lines
218 B
Bash
Executable File
16 lines
218 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 -b -B "
|
|
fi
|
|
|
|
${TOOL} firewall${N}.fw.orig firewall${N}.fw
|
|
|
|
|