Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
86
Issues
86
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Software
Commits
c5044cf2
Commit
c5044cf2
authored
Dec 17, 2014
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
userspace/rootfs: trivial: report if dot-config was downloaded
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
f893b8a8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
S20dot-config
userspace/rootfs_override/etc/init.d/S20dot-config
+1
-0
No files found.
userspace/rootfs_override/etc/init.d/S20dot-config
View file @
c5044cf2
...
...
@@ -49,6 +49,7 @@ if [ -n "$CONFIG_DOTCONF_URL" ]; then
if
[
-f
$tmpconfig
]
&&
[
$(
cat
$tmpconfig
|
wc
-c
)
-gt
200
]
&&
/wr/bin/wrs_checkcfg
$tmpconfig
/wr/etc/Kconfig
;
then
echo
"Using newly-downloaded dot-config from
$URL
"
# copy it in place to use the new file (unless it is identical)
cmp
-s
$tmpconfig
$dotconfig
||
cp
$tmpconfig
$dotconfig
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment