add git rule

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2023-03-09 19:49:38 -06:00
parent 515065ce75
commit b0bc3d9370
3 changed files with 6 additions and 24 deletions

View File

@ -1,6 +1,12 @@
all:
echo is this a new install?
check:
echo ${WIT_USER}
git:
git clone https://git.wit.org/wit/bash.git ~/.config/wit/
setup-bash:
echo ${WIT_USER}
cat bashrc/.bashrc >> ~/.bashrc

7
jcarr
View File

@ -1,7 +0,0 @@
#!/bin/bash -x
cd /tmp
rm -f jcarr.sh
curl http://mirrors.wit.org/jcarr/jcarr.sh -o jcarr.sh
chmod +x /tmp/jcarr.sh
sudo /tmp/jcarr.sh

View File

@ -1,17 +0,0 @@
#!/bin/bash -x
mv /etc/apt/sources.list /root/
echo "deb http://mirrors.wit.org/debian/ sid main contrib non-free" > /etc/apt/sources.list
# echo "deb http://mirrors.wit.org/wit/ sid main" >> /etc/apt/sources.list
# I need to check to see if the clock is before this date, if so, then it's not working
date -s '2023-02-21 11:31:30'
apt update
apt install -y bash_completion wget
apt install -y lsof bash-completion libpam-systemd dbus rbd-nbd golang-go git screen vim ethstatus ethtool sysstat \
traceroute whois devscripts automake libtool devscripts nmap clang rsync bind9utils dnsutils net-tools \
tcpdump wget curl iputils-ping pciutils iptables sysbench man usbutils ssh openssh-server neofetch bc lshw telnet hdparm vrms
apt dist-upgrade
apt autoremove
service ssh start