Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openwrt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Freifunk Luebeck
openwrt
Commits
dc9e7207
Commit
dc9e7207
authored
12 years ago
by
Luka Perkov
Browse files
Options
Downloads
Patches
Plain Diff
uboot-envtools: forgot to remove uboot-envtools.init file
SVN-Revision: 32052
parent
7f00e5ff
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
package/uboot-envtools/files/uboot-envtools.init
+0
-27
0 additions, 27 deletions
package/uboot-envtools/files/uboot-envtools.init
with
0 additions
and
27 deletions
package/uboot-envtools/files/uboot-envtools.init
deleted
100755 → 0
+
0
−
27
View file @
7f00e5ff
#!/bin/sh /etc/rc.common
# (C) 2011 OpenWrt.org
# Creates /etc/fw_env.conf for fw_printenv (and fw_setenv)
START
=
80
create_fwenv_config
()
{
local
dev
local
offset
local
envsize
local
secsize
local
numsec
config_get dev
"
$1
"
dev
config_get offset
"
$1
"
offset
"0x0000"
config_get envsize
"
$1
"
envsize
config_get secsize
"
$1
"
secsize
config_get numsec
"
$1
"
numsec
echo
"
$dev
$offset
$envsize
$secsize
$numsec
"
>>
/etc/fw_env.config
}
start
()
{
[
!
-e
/etc/fw_env.config
]
&&
{
echo
"# MTD device name Device offset Env. size Flash sector size Number of sectors"
>
/etc/fw_env.config
config_load ubootenv
config_foreach create_fwenv_config ubootenv
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment