|
@ -4929,13 +4929,12 @@ _installcert() { |
|
|
__read_password() { |
|
|
__read_password() { |
|
|
unset _pp |
|
|
unset _pp |
|
|
prompt="Enter Password:" |
|
|
prompt="Enter Password:" |
|
|
while IFS= read -p "$prompt" -r -s -n 1 char |
|
|
|
|
|
do |
|
|
|
|
|
if [ "$char" = $'\0' ]; then |
|
|
|
|
|
break |
|
|
|
|
|
fi |
|
|
|
|
|
prompt='*' |
|
|
|
|
|
_pp="$_pp$char" |
|
|
|
|
|
|
|
|
while IFS= read -p "$prompt" -r -s -n 1 char; do |
|
|
|
|
|
if [ "$char" = $'\0' ]; then |
|
|
|
|
|
break |
|
|
|
|
|
fi |
|
|
|
|
|
prompt='*' |
|
|
|
|
|
_pp="$_pp$char" |
|
|
done |
|
|
done |
|
|
echo "$_pp" |
|
|
echo "$_pp" |
|
|
} |
|
|
} |
|
@ -4985,7 +4984,7 @@ _uninstall_win_taskscheduler() { |
|
|
_debug "scheduler $_WINDOWS_SCHEDULER_NAME is not found." |
|
|
_debug "scheduler $_WINDOWS_SCHEDULER_NAME is not found." |
|
|
else |
|
|
else |
|
|
_info "Removing $_WINDOWS_SCHEDULER_NAME" |
|
|
_info "Removing $_WINDOWS_SCHEDULER_NAME" |
|
|
echo SCHTASKS /delete /f /tn "$_WINDOWS_SCHEDULER_NAME" | cmd.exe >/dev/null |
|
|
|
|
|
|
|
|
echo SCHTASKS /delete /f /tn "$_WINDOWS_SCHEDULER_NAME" | cmd.exe >/dev/null |
|
|
fi |
|
|
fi |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|