From 31020840371efe76c18fd33ed43d55c6afc6f102 Mon Sep 17 00:00:00 2001 From: jow Date: Mon, 17 Sep 2012 18:36:51 +0000 Subject: [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 --- package/base-files/files/etc/uci-defaults/migrate-sysctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/base-files/files/etc/uci-defaults/migrate-sysctl b/package/base-files/files/etc/uci-defaults/migrate-sysctl index 2250c57802..b3796a4d2d 100644 --- a/package/base-files/files/etc/uci-defaults/migrate-sysctl +++ b/package/base-files/files/etc/uci-defaults/migrate-sysctl @@ -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 -- cgit v1.2.3