Skip to content
Snippets Groups Projects
Commit b648651a authored by Recolic's avatar Recolic :house_with_garden:
Browse files

.add init confirm

parent 5c0b01a0
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment