aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-09-17 18:36:51 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-09-17 18:36:51 +0000
commit139ed17d115a15835136d05760e0c6f5be99c751 (patch)
tree90ef41660f7970e183de3c84df699f77049185cc /package/base-files/files/etc
parent365d9d069e15e144de09f9bb1ed7a77b3bab5128 (diff)
downloadmaster-187ad058-139ed17d115a15835136d05760e0c6f5be99c751.tar.gz
master-187ad058-139ed17d115a15835136d05760e0c6f5be99c751.tar.bz2
master-187ad058-139ed17d115a15835136d05760e0c6f5be99c751.zip
[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
Diffstat (limited to 'package/base-files/files/etc')
-rw-r--r--package/base-files/files/etc/uci-defaults/migrate-sysctl2
1 files changed, 1 insertions, 1 deletions
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