projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[package] base-files: add some more protected services to sysupgrade kill blacklist
[openwrt.git]
/
package
/
base-files
/
files
/
lib
/
preinit
/
40_run_failsafe_hook
1
#!/bin/sh
2
# Copyright (C) 2006-2010 OpenWrt.org
3
# Copyright (C) 2010 Vertical Communications
4
5
run_failsafe_hook
() {
6
if
[
"
$FAILSAFE
"
=
"true"
];
then
7
boot_run_hook failsafe
8
lock
-w
/
tmp
/
.failsafe
9
fi
10
}
11
12
boot_hook_add preinit_main run_failsafe_hook
13
This page took
0.044173 seconds
and
5
git commands to generate.