Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
freedombone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
Code review analytics
Issue analytics
Insights
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
Context Sensitive Group
freedombone
Commits
e89f9bc5
Commit
e89f9bc5
authored
8 years ago
by
Bob Mottram
Browse files
Options
Downloads
Patches
Plain Diff
Move dconf command to mesh startup script
parent
91c3974c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/freedombone-image-customise
+0
-3
0 additions, 3 deletions
src/freedombone-image-customise
src/freedombone-image-mesh
+5
-0
5 additions, 0 deletions
src/freedombone-image-mesh
with
5 additions
and
3 deletions
src/freedombone-image-customise
+
0
−
3
View file @
e89f9bc5
...
...
@@ -1153,9 +1153,6 @@ function configure_user_interface {
mesh_client_startup_applications
mesh_desktop_icons
# disable screen lock
chroot
"
$rootdir
"
dconf write /org/gnome/desktop/screensaver/lock-enabled
false
# change the desktop background
if
[
$MESH_DESKTOP_BACKGROUND_IMAGE
]
;
then
if
[
-f
$MESH_DESKTOP_BACKGROUND_IMAGE
]
;
then
...
...
This diff is collapsed.
Click to expand it.
src/freedombone-image-mesh
+
5
−
0
View file @
e89f9bc5
...
...
@@ -359,6 +359,10 @@ function disable_password_logins {
sed
-i
's|PasswordAuthentication.*|PasswordAuthentication no|g'
/etc/ssh/sshd_config
}
function
disable_screen_lock
{
dconf write /org/gnome/desktop/screensaver/lock-enabled
false
}
if
[
-f
/root/.initial_mesh_setup
]
;
then
if
[
$1
]
;
then
MY_USERNAME
=
$1
...
...
@@ -381,6 +385,7 @@ if [ -f /root/.initial_mesh_setup ]; then
configure_toxcore
configure_zeronet
disable_password_logins
disable_screen_lock
rm
/root/.initial_mesh_setup
systemctl disable mesh-setup.service
...
...
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