ACC SHELL
YaST bytecode 1.4.0 Internet Internet.ycp Map NetworkService Service do_test
suse_register do_you test devices device
type logfile provider
password demand askpassword capi_adsl capi_isdn Reset
GetDevices Start Stop Status Connected SetDemand ShutdownAllLocalDHCPClients ( 2
3 4 5
6 7 8 9 : ? P b log log demand 3 WFM Read Execute 3 SCR Read Write Execute 3 Map 3 NetworkService IsManaged 3 Service Status Start $ $ $ $( $- $2 $3
$4 $5 $6
$7 $8 $9 $: %? &@ &A
&B &C &D
&E &F &G &H %P (Q 4R command out $S P ip -oneline link list | sed -e 's/^[0-9]*: \([^:]*\).*/\1/' | grep -v 'lo\|sit0'$T SCR::Execute .target.bash_output &U filter i splitstring stdout
&X filter i && lo sit0 -Z %b cmd ret (d || &&
dsl
isdn4d status $e isdn,f
y2milestone
We need ISDN service, status: %1 (g 4g (h ! isdn4h ,i
y2error
start failed-j $o + /sbin/ifup (p 4q d_nm s_nm $r org.freedesktop.NetworkManager$s /org/freedesktop/NetworkManager&u
sformat
J dbus-send --system --dest=%1 %2 %1.setActiveDevice objpath:'%2/Devices/%3' (x &y + + + > 2>&1 ${ (| 4} &~ SCR::Execute .target.bash_input
4 & SCR::Execute .target.bash ( 4 ,
y2error
%1 NM.setActiveDevice failed ifup failed- ( &&
isdn ! 4 ( SCR::Execute .target.bash + /sbin/isdnctrl dial 4 ,
y2error
isdnctrl failed- - % cmd ret $ +
/sbin/ifdown ( & + + + > 2>&1 $ SCR::Execute .target.bash - % ret ( 4 ,
y2milestone
8 Skipping interface status test because of NetworkManager- $ SCR::Execute .target.bash + /sbin/ifstatus ,
y2milestone
ifstatus %1: %2 - ||
% ( || ||
dsl
modem &&
isdn 4 tmp1 tmp2 $ SCR::Read .target.string + + /var/lib/smpppd/ifcfg- .info$ splitstring
- contains status: connected ( &&
isdn ! 4 - SCR::Execute .target.bash&