From 065cbc349683554ee3ea53764e63c39175da03e5 Mon Sep 17 00:00:00 2001 From: Recolic <git@me.recolic.net> Date: Thu, 3 Apr 2025 16:31:45 -0700 Subject: [PATCH] .add init confirm --- linuxconf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/linuxconf b/linuxconf index 8aba565..141bd71 100755 --- a/linuxconf +++ b/linuxconf @@ -251,6 +251,8 @@ 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 $(pwd) ? 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" lci_install_login_hook || lcf_die "failed to install on_login hook" -- GitLab