Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
alpine-conf
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
18
Issues
18
List
Boards
Labels
Service Desk
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
alpine-conf
Commits
de682b87
Commit
de682b87
authored
Jan 07, 2011
by
Natanael Copa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setup-disk: add urandom as a service to start at boot
parent
bc8f437e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
setup-disk.in
setup-disk.in
+2
-1
No files found.
setup-disk.in
View file @
de682b87
...
...
@@ -399,7 +399,8 @@ EOF
# manually add swap to mounted fstab and add the swap service to the boot runlevel
echo
-e
"
$(
uuid_or_device
$swap_dev
)
\t
swap
\t\t
swap
\t
defaults 0 0"
>>
/mnt/etc/fstab
chroot
/mnt
""
rc-update
--quiet
add swap boot
""
chroot
/mnt rc-update
--quiet
add swap boot
chroot
/mnt rc-update
--quiet
add urandom boot
unmount_partitions /mnt
swapoff
-a
...
...
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