summaryrefslogtreecommitdiff
path: root/package/base-files/files.old/lib/preinit/90_restore_config
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-06-21 16:53:26 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-06-21 16:53:26 +0000
commite8af3711b3d34a2a60d7b002fc8bcc0c2fb006f4 (patch)
tree07c20cfc20e3a525c70cf6b2c9ded37c565b91e5 /package/base-files/files.old/lib/preinit/90_restore_config
parentdad4462bf5b87c2ca279f788ea6b6cb6a86ddd04 (diff)
base-files: procd init is now the default, remove files.old
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36996 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files.old/lib/preinit/90_restore_config')
-rw-r--r--package/base-files/files.old/lib/preinit/90_restore_config17
1 files changed, 0 insertions, 17 deletions
diff --git a/package/base-files/files.old/lib/preinit/90_restore_config b/package/base-files/files.old/lib/preinit/90_restore_config
deleted file mode 100644
index 210bf61847..0000000000
--- a/package/base-files/files.old/lib/preinit/90_restore_config
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-# Copyright (C) 2006 OpenWrt.org
-# Copyright (C) 2010 Vertical Communications
-
-restore_config() {
- [ -f /sysupgrade.tgz ] && {
- echo "- config restore -"
- cd /
- mv sysupgrade.tgz /tmp
- tar xzf /tmp/sysupgrade.tgz
- rm -f /tmp/sysupgrade.tgz
- sync
- }
-}
-
-boot_hook_add preinit_main restore_config
-