Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pmaports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
postmarketOS
pmaports
Commits
fd12790e
Unverified
Commit
fd12790e
authored
4 years ago
by
Federico Amedeo Izzo
Committed by
Bart Ribbers
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
nokia-n900: fix post-install script (MR 1166)
parent
3b540628
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
device/testing/device-nokia-n900/device-nokia-n900.post-install
+2
-5
2 additions, 5 deletions
.../testing/device-nokia-n900/device-nokia-n900.post-install
with
2 additions
and
5 deletions
device/testing/device-nokia-n900/device-nokia-n900.post-install
+
2
−
5
View file @
fd12790e
...
...
@@ -11,6 +11,8 @@ rc-update add acpid default
rc-update add hwdrivers boot
# Enable ofono
rc-update add ofono default
# Enable swclock
rc-update
-q
add swclock boot
# Load nokia-modem module on boot
NMC
=
/etc/modules-load.d/nokia-modem.conf
...
...
@@ -23,11 +25,6 @@ if [ -z "$(grep /dev/rtc0 /etc/conf.d/hwclock)" ]; then
sed
-i
's/clock_args=\"/clock_args=\" -f \/dev\/rtc/'
/etc/conf.d/hwclock
fi
exit
0
# Enable swclock OpenRC service
rc-update
-q
add swclock boot
# Prime swclock with a reasonable date/time on first boot
mkdir
-p
/run/openrc
touch
/run/openrc/shutdowntime
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