[package] base-files: make file compare silent in migrate-sysctl

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33449 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Jo-Philipp Wich
2012-09-17 18:36:51 +00:00
parent 365d9d069e
commit 139ed17d11

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