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/base-files | |
parent | 0fd1fb62522697cfbc17d9e5e1b27cc15ef40c28 (diff) | |
download | mtk-20170518-2165240c3237a4a42e8687ab9b3d04e8f1e1bff5.zip mtk-20170518-2165240c3237a4a42e8687ab9b3d04e8f1e1bff5.tar.gz mtk-20170518-2165240c3237a4a42e8687ab9b3d04e8f1e1bff5.tar.bz2 |
base-files: make file compare silent in migrate-sysctl
SVN-Revision: 33449
Diffstat (limited to 'package/base-files')
-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 2250c57..b3796a4 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 |