Projects
jsj
jsj-installtools
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 90
View file
jsj-installtools.changes
Changed
@@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Sat Feb 26 05:44:14 UTC 2022 - Stefan Botter <obs@botter.cc> + +- add EnableProxy and DisableProxy commands + +------------------------------------------------------------------- Thu Dec 23 12:36:07 UTC 2021 - Stefan Botter <obs@botter.cc> - add RunZypperUpdateCron to use in cron
View file
jsj-installtools.spec
Changed
@@ -6,7 +6,7 @@ License: SUSE-Freeware Group: Productivity/Networking/Other Autoreqprov: on -Version: 0.44.4 +Version: 0.153.0 Release: 1 Summary: Install tools for virtual hosts Source1: CreateConfig @@ -23,6 +23,8 @@ Source12: PrepareBrekomProxy Source13: PrepareReposFor15.3 Source14: RunZypperUpdateCron +Source15: EnableProxy +Source16: DisableProxy Source21: nagiosok.html Source22: vhost.conf #Requires: check_mk-agent-plugins @@ -55,6 +57,8 @@ install -Dm755 %{S:14} $RPM_BUILD_ROOT/%{_datadir}/jsjinstalltools install -Dm644 %{S:21} $RPM_BUILD_ROOT/%{_datadir}/jsjinstalltools install -Dm644 %{S:22} $RPM_BUILD_ROOT/%{_datadir}/jsjinstalltools +install -Dm755 %{S:15} $RPM_BUILD_ROOT/usr/bin +install -Dm755 %{S:16} $RPM_BUILD_ROOT/usr/bin # 13.2 is 1320 and later Leap 42.1 is 1315 %if 0%{?suse_version} >= 1315
View file
DisableProxy
Added
@@ -0,0 +1,9 @@ +#!/usr/bin/bash +if "$1"_ != _ ; then + INT=$1 +else + INT=eth0 +fi +sed -i -e '/^PROXY_ENABLED/ s/=".*"$/="no"/' /etc/sysconfig/proxy +nmcli c down $INT +nmcli c up $INT
View file
EnableProxy
Added
@@ -0,0 +1,9 @@ +#!/usr/bin/bash +if "$1"_ != _ ; then + INT=$1 +else + INT=eth0 +fi +sed -i -e '/^PROXY_ENABLED/ s/=".*"$/="yes"/' /etc/sysconfig/proxy +nmcli c down $INT +nmcli c up $INT
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.