summaryrefslogtreecommitdiff
path: root/package/base-files/files/etc/uci-defaults/migrate-sysctl
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-01-18 12:46:43 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-01-18 12:46:43 +0000
commit5dade080429f461b8f02a8effb835cd309c1d50b (patch)
treeb2d6a1f6c5889298d56859ab4b672d5306352eb5 /package/base-files/files/etc/uci-defaults/migrate-sysctl
parent560c530e279fb8ed2a4a23ba371a83870aacb71a (diff)
base-files: use numerically prefixed uci-defaults names
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35218 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/etc/uci-defaults/migrate-sysctl')
-rw-r--r--package/base-files/files/etc/uci-defaults/migrate-sysctl17
1 files changed, 0 insertions, 17 deletions
diff --git a/package/base-files/files/etc/uci-defaults/migrate-sysctl b/package/base-files/files/etc/uci-defaults/migrate-sysctl
deleted file mode 100644
index b3796a4d2d..0000000000
--- a/package/base-files/files/etc/uci-defaults/migrate-sysctl
+++ /dev/null
@@ -1,17 +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
-