aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files')
-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