maintenance
This commit is contained in:
parent
f4e5562b96
commit
29ed94da16
11 changed files with 11 additions and 10 deletions
|
@ -1 +0,0 @@
|
|||
sudo canonical-livepatch status --verbose
|
|
@ -1,2 +1,5 @@
|
|||
git remote add upstream https://github.com/sorin-ionescu/prezto.git
|
||||
git remote -v
|
||||
#!/bin/bash
|
||||
if [[ "$PWD" = "$HOME/.zprezto" ]]; then
|
||||
git remote add upstream https://github.com/sorin-ionescu/prezto.git
|
||||
git remote -v
|
||||
fi
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#this command changes the git repo from HTTPS to SSH so you can use the key instead of typing in your password all the time.
|
||||
USER=steveokard
|
||||
USER=sc-idevops
|
||||
if [ -n "$1" ]
|
||||
then
|
||||
git remote set-url origin git@github.com:$USER/$1.git
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
sudo apt install sysstat vnstat iotop iftop bwm-ng htop munin
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
if [ $(id -u) -ne 0 ]
|
||||
then echo "Please run as root"
|
||||
exit 1
|
||||
then echo "Please run as root"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -z "$1" ]
|
||||
|
@ -9,6 +9,6 @@ then
|
|||
echo "Please provide a number to set swappiness value!" && exit 2
|
||||
else
|
||||
sudo echo "vm.swappiness="$1 >> /etc/sysctl.conf
|
||||
sudo sysctl -p
|
||||
sudo sysctl -p
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue