Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
openwrt-core
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
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Feed
openwrt-core
Commits
0b4f154d
Commit
0b4f154d
authored
1 year ago
by
Erik Karlsson
Committed by
Andreas Gnau
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
base-files: remove ubus call to peripheral-manager in defaultreset
Also fix usage printout.
parent
f73bb1dc
No related branches found
Branches containing commit
No related tags found
1 merge request
!555
base-files: remove ubus call to peripheral-manager in defaultreset
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
package/base-files/files/sbin/defaultreset
+1
-2
1 addition, 2 deletions
package/base-files/files/sbin/defaultreset
with
1 addition
and
2 deletions
package/base-files/files/sbin/defaultreset
+
1
−
2
View file @
0b4f154d
...
...
@@ -13,7 +13,7 @@ while [ -n "$1" ]; do
REBOOT
=
0
;;
-h
|
--help
)
echo
"Usage:
$0
[-r] [-h|--help]"
echo
"Usage:
$0
[-r]
[-R]
[-h|--help]"
echo
" -r Reboot the device (default)"
echo
" -R Prevent reboot"
echo
" -h, --help help"
...
...
@@ -28,7 +28,6 @@ while [ -n "$1" ]; do
shift
done
ubus call leds
set
'{ "state": "test"}'
printf
"
\n\n
*** Restore to default settings ***
\n\n
"
>
/dev/console
# We put a delete marker in overlay and do the delete on bootup so
...
...
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