ssh-askpass revision 4567025ab0b22b793fbd8cae7ad7fc9dee4e4b04
03532efdc331b598d3dedc8cc7477641c3b0dd12vboxsync#! /usr/bin/ksh
03532efdc331b598d3dedc8cc7477641c3b0dd12vboxsync#
03532efdc331b598d3dedc8cc7477641c3b0dd12vboxsync# CDDL HEADER START
03532efdc331b598d3dedc8cc7477641c3b0dd12vboxsync#
03532efdc331b598d3dedc8cc7477641c3b0dd12vboxsync# The contents of this file are subject to the terms of the
03532efdc331b598d3dedc8cc7477641c3b0dd12vboxsync# Common Development and Distribution License (the "License").
03532efdc331b598d3dedc8cc7477641c3b0dd12vboxsync# You may not use this file except in compliance with the License.
03532efdc331b598d3dedc8cc7477641c3b0dd12vboxsync#
03532efdc331b598d3dedc8cc7477641c3b0dd12vboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
03532efdc331b598d3dedc8cc7477641c3b0dd12vboxsync# or http://www.opensolaris.org/os/licensing.
03532efdc331b598d3dedc8cc7477641c3b0dd12vboxsync# See the License for the specific language governing permissions
03532efdc331b598d3dedc8cc7477641c3b0dd12vboxsync# and limitations under the License.
03532efdc331b598d3dedc8cc7477641c3b0dd12vboxsync#
03532efdc331b598d3dedc8cc7477641c3b0dd12vboxsync# When distributing Covered Code, include this CDDL HEADER in each
03532efdc331b598d3dedc8cc7477641c3b0dd12vboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
03532efdc331b598d3dedc8cc7477641c3b0dd12vboxsync# If applicable, add the following below this CDDL HEADER, with the
03532efdc331b598d3dedc8cc7477641c3b0dd12vboxsync# fields enclosed by brackets "[]" replaced with your own identifying
03532efdc331b598d3dedc8cc7477641c3b0dd12vboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
03532efdc331b598d3dedc8cc7477641c3b0dd12vboxsync#
03532efdc331b598d3dedc8cc7477641c3b0dd12vboxsync# CDDL HEADER END
03532efdc331b598d3dedc8cc7477641c3b0dd12vboxsync#
03532efdc331b598d3dedc8cc7477641c3b0dd12vboxsync
03532efdc331b598d3dedc8cc7477641c3b0dd12vboxsync#
03532efdc331b598d3dedc8cc7477641c3b0dd12vboxsync# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
03532efdc331b598d3dedc8cc7477641c3b0dd12vboxsync# Use is subject to license terms.
03532efdc331b598d3dedc8cc7477641c3b0dd12vboxsync#
03532efdc331b598d3dedc8cc7477641c3b0dd12vboxsync
03532efdc331b598d3dedc8cc7477641c3b0dd12vboxsyncprompt=$(echo $1 | sed s/_/__/g)
03532efdc331b598d3dedc8cc7477641c3b0dd12vboxsyncICON=/usr/share/pixmaps/blueprint-keyring.png
03532efdc331b598d3dedc8cc7477641c3b0dd12vboxsyncexec /usr/bin/zenity --entry --title "ssh-askpass" \
03532efdc331b598d3dedc8cc7477641c3b0dd12vboxsync --text="$prompt" --hide-text --window-icon=$ICON
03532efdc331b598d3dedc8cc7477641c3b0dd12vboxsync