forked from hummypkg/sweeper
fix problem
This commit is contained in:
parent
719d61b4d2
commit
467e11c739
@ -1,7 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
f=/mod/etc/sweeper.conf
|
||||
[ -f $f ] && cp $f $f~
|
||||
if [ -f $f ]; then
|
||||
sum=`/mod/bin/busybox/md5sum $f | awk '{print $1}'`
|
||||
if [ "$sum" != "a22cb1379fb9c58ae549dead9695eebe" ]; then
|
||||
cp $f $f~
|
||||
fi
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user