base-files: make file compare silent in migrate-sysctl

SVN-Revision: 33449
master
Jo-Philipp Wich 12 years ago
parent 0fd1fb6252
commit 2165240c32
  1. 2
      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

Loading…
Cancel
Save