aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2018-04-12 17:30:16 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2018-04-13 10:16:45 +0200
commit6c7307f133c2a60356b0de23aaaabe4ff7674d05 (patch)
tree59433e4db9d6f351d526b3750d67bb50a1cf78e1 /package/base-files/files
parentc61c709f4e3f4331716d6e5624f7678d03b5d80c (diff)
downloadupstream-6c7307f133c2a60356b0de23aaaabe4ff7674d05.tar.gz
upstream-6c7307f133c2a60356b0de23aaaabe4ff7674d05.tar.bz2
upstream-6c7307f133c2a60356b0de23aaaabe4ff7674d05.zip
base-files: remove /etc/uci-defaults/11_migrate-sysctl
11_migrate-sysctl has not been updated with new file hashes since 2012. Let's get rid of it. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Diffstat (limited to 'package/base-files/files')
-rw-r--r--package/base-files/files/etc/uci-defaults/11_migrate-sysctl16
1 files changed, 0 insertions, 16 deletions
diff --git a/package/base-files/files/etc/uci-defaults/11_migrate-sysctl b/package/base-files/files/etc/uci-defaults/11_migrate-sysctl
deleted file mode 100644
index 464e275779..0000000000
--- a/package/base-files/files/etc/uci-defaults/11_migrate-sysctl
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-
-if [ ! -f "/rom/etc/sysctl.conf" ] || cmp -s "/rom/etc/sysctl.conf" "/etc/sysctl.conf"; then
- exit 0
-fi
-
-fingerprint="$(md5sum /etc/sysctl.conf)"
-fingerprint="${fingerprint%% *}"
-
-if [ "$fingerprint" = "1b05ebb41f72cb84e5510573cd4aca26" ] || \
- [ "$fingerprint" = "62deb895be1a7f496040187b7c930e4e" ]; then
- logger -t migrate-sysctl "Updating sysctl.conf to use current defaults"
- cp "/rom/etc/sysctl.conf" "/etc/sysctl.conf"
-fi
-
-exit 0