RT-AC56 3.0.0.4.374.37 core
[tomato.git] / release / src-rt-6.x.4708 / wl / config / diffupdate.sh
blobcd58fd13924c2cb8bfb91032edbeeb6348dc49e3
1 #!/bin/sh
2 # usage: this_program file1 file2
4 if test -r $2 ; then
5 if cmp $1 $2 > /dev/null ; then
6 # echo $2 is unchanged
7 rm -f $1
8 else
9 mv -f $1 $2
11 else
12 mv -f $1 $2