diff --git a/linuxconf b/linuxconf index 8aba565e13915b77b6a923aaccc85e8fd9ffff5b..141bd7127f44c652c88e068f9d63fc115d7ab536 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"