diff options
author | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-06-21 16:53:26 +0000 |
---|---|---|
committer | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-06-21 16:53:26 +0000 |
commit | e8af3711b3d34a2a60d7b002fc8bcc0c2fb006f4 (patch) | |
tree | 07c20cfc20e3a525c70cf6b2c9ded37c565b91e5 /package/base-files/files.old/lib/preinit/90_restore_config | |
parent | dad4462bf5b87c2ca279f788ea6b6cb6a86ddd04 (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_config | 17 |
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 - |