Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
linuxconf
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
Recolic
linuxconf
Commits
b648651a
There was an error fetching the commit references. Please try again later.
Commit
b648651a
authored
1 month ago
by
Recolic
Browse files
Options
Downloads
Patches
Plain Diff
.add init confirm
parent
5c0b01a0
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
linuxconf
+1
-1
1 addition, 1 deletion
linuxconf
with
1 addition
and
1 deletion
linuxconf
+
1
−
1
View file @
b648651a
...
...
@@ -251,7 +251,7 @@ if [[ "$subcommand" != register ]] && [[ "$subcommand" != "" ]]; then
[[
!
-f
/etc/linuxconf.conf
]]
&&
lcf_die
"Please run '
$0
register <path/to/masterconf.sh>' at least once"
fi
if
[[
"
$subcommand
"
=
register
]]
;
then
lcf_echo2
"Confirm linuxconf init at
$(
dirname
"
$(
realpath
"
$2
"
)
"
)
? Make sure all (desired) user have read access!"
lcf_echo2
"Confirm linuxconf init
as
$(
whoami
)
at
$(
dirname
"
$(
realpath
"
$2
"
)
"
)
? Make sure all (desired) user have read access!"
read
-p
"Confirm ? "
||
exit
0
lci_register
"
$2
"
lci_install_startup_hook
||
lcf_die
"failed to install on_startup hook"
...
...
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