base-files: make file compare silent in migrate-sysctl

SVN-Revision: 33449
This commit is contained in:
Jo-Philipp Wich 2012-09-17 18:36:51 +00:00
parent 0fd1fb6252
commit 2165240c32

View file

@ -1,6 +1,6 @@
#!/bin/sh
if [ ! -f "/rom/etc/sysctl.conf" ] || cmp "/rom/etc/sysctl.conf" "/etc/sysctl.conf"; then
if [ ! -f "/rom/etc/sysctl.conf" ] || cmp -s "/rom/etc/sysctl.conf" "/etc/sysctl.conf"; then
exit 0
fi