Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Update
WindowMaker-applets
wmppp-1.3.0.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File wmppp-1.3.0.dif of Package WindowMaker-applets
--- wmppp/getmodemspeed +++ wmppp/getmodemspeed @@ -0,0 +1,2 @@ +#!/bin/sh +tac /etc/ppp/connect-errors | grep '['CONNECT'|'CARRIER']' | head -1 --- wmppp/wmppp.c +++ wmppp/wmppp.c @@ -615,7 +615,10 @@ if (!starttime) { copyXPMArea(28, 95, 25, 11, 5, 48); DrawTime(0, 1); - start_child = execCommand(start_action); + if (start_action) + start_child = execCommand(start_action); + else + start_child = 0; SetWaitLED(LED_PPP_POWER); waittime = ORANGE_LED_TIMEOUT + currenttime; } @@ -623,7 +626,10 @@ break; case 1: if (stop_child == 0) { - stop_child = execCommand(stop_action); + if (stop_action) + stop_child = execCommand(stop_action); + else + stop_child = 0; } break; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor