diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-09-17 18:36:51 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-09-17 18:36:51 +0000 |
commit | 2165240c3237a4a42e8687ab9b3d04e8f1e1bff5 (patch) | |
tree | fa2dc804b1063d74a92a54674233f70e605fe17a /package | |
parent | 0fd1fb62522697cfbc17d9e5e1b27cc15ef40c28 (diff) | |
download | upstream-2165240c3237a4a42e8687ab9b3d04e8f1e1bff5.tar.gz upstream-2165240c3237a4a42e8687ab9b3d04e8f1e1bff5.tar.bz2 upstream-2165240c3237a4a42e8687ab9b3d04e8f1e1bff5.zip |
base-files: make file compare silent in migrate-sysctl
SVN-Revision: 33449
Diffstat (limited to 'package')
-rw-r--r-- | package/base-files/files/etc/uci-defaults/migrate-sysctl | 2 |
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 |