fix problem

This commit is contained in:
hummypkg 2015-02-01 23:07:48 +00:00
parent 719d61b4d2
commit 467e11c739

View File

@ -1,7 +1,12 @@
#!/bin/sh #!/bin/sh
f=/mod/etc/sweeper.conf 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 exit 0