aquaballoon

sh - read

Nov 30th, 2011
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.22 KB | None | 0 0
  1. #! /bin/bash
  2.  
  3. echo "Enter IP of APT-cacher Server
  4. 124.158.108.139
  5. "
  6.  
  7. read IP
  8.  
  9. echo 'Acquire::http::Proxy "http://'${IP}':3142/apt-cacher/";' > /etc/apt/apt.conf.d/01proxy
  10.  
  11. echo
  12.  
  13. cat /etc/apt/apt.conf.d/01proxy
Advertisement
Add Comment
Please, Sign In to add comment