[Pkg-utopia-maintainers] Bug#518509: Bug#518509: network-manager: NM-KDE doesn't show the "Secure VPN" Icon when a VPN Connection is established
Ritesh Raj Sarraf
rrs at researchut.com
Fri Mar 6 20:03:07 UTC 2009
Hi Michael,
On Saturday 07 Mar 2009 00:45:03 Michael Biebl wrote:
> Could you find out, why 01ifupdown has failed.
Seems working as *Badly* designed.
The script is passed an action (vpn-up) which falls under the no-match
section, where 1 is returned explicitly.
Probably, we need a:
vpn-up)
echo "VPN - Doing nothing"
rrs at champaran:/tmp$ cat NetworkManager.log
echo $1
+ echo tun0
tun0
echo $2
+ echo vpn-up
vpn-up
echo $3
+ echo
if [ -z "$1" ]; then
echo "$0: called with no interface" 1>&2
exit 1;
fi
+ [ -z tun0 ]
# Fake ifupdown environment
export IFACE="$1"
+ export IFACE=tun0
export LOGICAL="$1"
+ export LOGICAL=tun0
export ADDRFAM="NetworkManager"
+ export ADDRFAM=NetworkManager
export METHOD="NetworkManager"
+ export METHOD=NetworkManager
export VERBOSITY="0"
+ export VERBOSITY=0
# Run the right scripts
case "$2" in
up)
export MODE="start"
export PHASE="post-up"
exec run-parts /etc/network/if-up.d
;;
down)
export MODE="stop"
export PHASE="pre-down"
exec run-parts /etc/network/if-down.d
;;
pre-up)
export MODE="start"
export PHASE="pre-up"
exec run-parts /etc/network/if-pre-up.d
;;
post-down)
export MODE="stop"
export PHASE="post-down"
exec run-parts /etc/network/if-post-down.d
;;
*)
echo "$0: called with unknown action \`$2'" 1>&2
exit 1
;;
esac
+ echo /tmp/01ifupdown: called with unknown action `vpn-up'
/tmp/01ifupdown: called with unknown action `vpn-up'
+ exit 1
Ritesh
--
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20090307/1d579dea/attachment.pgp
More information about the Pkg-utopia-maintainers
mailing list