sweeper/CONTROL/preinst

13 lines
194 B
Plaintext
Raw Permalink Normal View History

#!/bin/sh
f=/mod/etc/sweeper.conf
2015-02-01 23:07:48 +00:00
if [ -f $f ]; then
sum=`/mod/bin/busybox/md5sum $f | awk '{print $1}'`
if [ "$sum" != "a22cb1379fb9c58ae549dead9695eebe" ]; then
cp $f $f~
fi
fi
exit 0