File tree Expand file tree Collapse file tree 7 files changed +5
-7
lines changed Expand file tree Collapse file tree 7 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 4949 <ResourceBaseClass Value =" Form" />
5050 <UnitName Value =" Unit1" />
5151 <IsVisibleTab Value =" True" />
52- <TopLine Value =" 195 " />
53- <CursorPos X =" 21 " Y =" 212 " />
52+ <TopLine Value =" 174 " />
53+ <CursorPos X =" 36 " Y =" 178 " />
5454 <UsageCount Value =" 38" />
5555 <Loaded Value =" True" />
5656 <LoadedDesigner Value =" True" />
Original file line number Diff line number Diff line change @@ -209,8 +209,6 @@ procedure TMainForm.StartBtnClick(Sender: TObject);
209209
210210 S.Add(' exit 0' );
211211
212- showmessage(' 111' );
213-
214212 S.SaveToFile(' /etc/sshuttle-gui/connect.sh' );
215213
216214 // Запускаем скрипт через systemd
Original file line number Diff line number Diff line change 4949 <ResourceBaseClass Value =" Form" />
5050 <UnitName Value =" Unit1" />
5151 <IsVisibleTab Value =" True" />
52- <TopLine Value =" 193 " />
53- <CursorPos Y =" 212 " />
52+ <TopLine Value =" 165 " />
53+ <CursorPos X = " 13 " Y =" 180 " />
5454 <UsageCount Value =" 38" />
5555 <Loaded Value =" True" />
5656 <LoadedDesigner Value =" True" />
Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ procedure TMainForm.StartBtnClick(Sender: TObject);
175175 if StartBtn.Caption = SStop then
176176 begin
177177 Shape1.Brush.Color := clYellow;
178- StartProcess(' systemctl stop sshuttle.service' );
178+ StartProcess(' killall sshpass; systemctl stop sshuttle.service' );
179179 end
180180 else
181181 try
You can’t perform that action at this time.
0 commit comments