diff options
author | James <> | 2013-03-17 12:16:37 +0000 |
---|---|---|
committer | James <> | 2013-03-17 12:16:37 +0000 |
commit | 27b76ab0671089c47506615a796a261e993896a7 (patch) | |
tree | 61213d67e7fa87b20356b23798558e2c4212c42f /target/linux/x86/olpc/base-files/lib/preinit/.svn | |
download | trunk-36060-master.tar.gz trunk-36060-master.tar.bz2 trunk-36060-master.zip |
Diffstat (limited to 'target/linux/x86/olpc/base-files/lib/preinit/.svn')
3 files changed, 117 insertions, 0 deletions
diff --git a/target/linux/x86/olpc/base-files/lib/preinit/.svn/entries b/target/linux/x86/olpc/base-files/lib/preinit/.svn/entries new file mode 100644 index 0000000..a2c9115 --- /dev/null +++ b/target/linux/x86/olpc/base-files/lib/preinit/.svn/entries @@ -0,0 +1,96 @@ +10 + +dir +36060 +svn://svn.openwrt.org/openwrt/trunk/target/linux/x86/olpc/base-files/lib/preinit +svn://svn.openwrt.org/openwrt + + + +2012-12-19T16:07:46.450520Z +34792 +mirko + + + + + + + + + + + + + + +3c298f89-4303-0410-b956-a3cf2f4a3e73 + +45_failsafe_x86 +file + + + + +2013-03-17T12:12:36.000000Z +140a3ac18367041c393d8daf57fbb8ce +2010-02-01T00:33:34.941359Z +19479 +jow + + + + + + + + + + + + + + + + + + + + + +456 + +15_essential_fs_x86 +file + + + + +2013-03-17T12:12:36.000000Z +dc020e9f42fbfc2e89678bc6121701fd +2012-12-19T16:07:46.450520Z +34792 +mirko + + + + + + + + + + + + + + + + + + + + + +153 + diff --git a/target/linux/x86/olpc/base-files/lib/preinit/.svn/text-base/15_essential_fs_x86.svn-base b/target/linux/x86/olpc/base-files/lib/preinit/.svn/text-base/15_essential_fs_x86.svn-base new file mode 100644 index 0000000..e4a380f --- /dev/null +++ b/target/linux/x86/olpc/base-files/lib/preinit/.svn/text-base/15_essential_fs_x86.svn-base @@ -0,0 +1,7 @@ +#!/bin/sh +# Copyright (C) 2006-2010 OpenWrt.org +# Copyright (C) 2010 Vertical Communications + +do_mount_procfs() { + mount -o noatime -t proc none /proc +} diff --git a/target/linux/x86/olpc/base-files/lib/preinit/.svn/text-base/45_failsafe_x86.svn-base b/target/linux/x86/olpc/base-files/lib/preinit/.svn/text-base/45_failsafe_x86.svn-base new file mode 100644 index 0000000..dd7330d --- /dev/null +++ b/target/linux/x86/olpc/base-files/lib/preinit/.svn/text-base/45_failsafe_x86.svn-base @@ -0,0 +1,14 @@ +#!/bin/sh +# Copyright (C) 2006-2010 OpenWrt.org +# Copyright (C) 2010 Vertical Communications + +failsafe_wait() { + FAILSAFE= + grep -q 'failsafe=' /proc/cmdline && FAILSAFE=true && export FAILSAFE + if [ "$FAILSAFE" != "true" ]; then + preinit_net_echo "Please press button now to enter failsafe" + echo -n "Press " + fs_wait_for_key f 'to enter failsafe mode' $fs_failsafe_wait_timeout && FAILSAFE=true && export FAILSAFE + fi +} + |