We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
0 parents commit 5bcdf65Copy full SHA for 5bcdf65
2 files changed
start_proxy.py
@@ -0,0 +1,6 @@
1
+#!/usr/bin/env python3.6
2
+#coding=utf-8
3
+import os
4
+if os.path.isfile('/etc/profile.d/proxy.txt'):
5
+ os.rename('/etc/profile.d/proxy.txt','/etc/profile.d/proxy.sh')
6
+ os.system('source /etc/profile')
stop_proxy.py
+#coding:utf-8
+if os.path.isfile('/etc/profile.d/proxy.sh'):
+ os.rename('/etc/profile.d/proxy.sh','/etc/profile.d/proxy.txt')
0 commit comments