mirror of
https://github.com/hcartiaux/dotfiles.git
synced 2024-10-18 17:25:23 +02:00
Compare commits
No commits in common. "83a07d7cd21092680bca4fbdf145cea2f04702a5" and "9310c38c3ebb93a7241884cbe0c7a93035076322" have entirely different histories.
83a07d7cd2
...
9310c38c3e
2 changed files with 5 additions and 36 deletions
|
@ -121,24 +121,6 @@ g5kpass() {
|
|||
# Archlinux utils
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
sysupd() {
|
||||
reflector --ipv6 -c de,fr,nl,lu -p https -n 30 -l 30 | sudo tee /etc/pacman.d/mirrorlist
|
||||
yay -Syu $*
|
||||
}
|
||||
|
||||
sysclean() {
|
||||
pacman -Qtdq | xargs -I {} sudo pacman -Rns {}
|
||||
yes | sudo pacman -Scc
|
||||
}
|
||||
|
||||
pkgbuild_up() {
|
||||
[[ ! -f PKGBUILD ]] && exit 1
|
||||
version=$1
|
||||
sed -i "s/^pkgver=.*$/pkgver=$VERSION/" PKGBUILD
|
||||
updpkgsums
|
||||
makepkg --printsrcinfo >! .SRCINFO
|
||||
}
|
||||
|
||||
pkgbuild_chroot() {
|
||||
[[ ! -f PKGBUILD ]] && exit 1
|
||||
CHROOT=~/chroot
|
||||
|
@ -146,9 +128,3 @@ pkgbuild_chroot() {
|
|||
mkarchroot "$CHROOT/root" base-devel
|
||||
makechrootpkg -c -r "$CHROOT"
|
||||
}
|
||||
|
||||
pkgbuild_commit() {
|
||||
[[ ! -f PKGBUILD ]] && exit 1
|
||||
version=$1
|
||||
git commit -m "Update to $VERSION"
|
||||
}
|
||||
|
|
|
@ -1,16 +1,9 @@
|
|||
########
|
||||
## Nas
|
||||
########
|
||||
|
||||
Host disco
|
||||
User admin
|
||||
Hostname 192.168.1.40
|
||||
Port 143
|
||||
Hostname 192.168.1.40
|
||||
|
||||
Host srv.nbsdn ns1.nbsdn
|
||||
Hostname ns1.nbsdn.fr.eu.org
|
||||
ProxyCommand none
|
||||
Host boxybsd1.nbsdn ns2.nbsdn
|
||||
Hostname ns2.nbsdn.fr.eu.org
|
||||
ProxyCommand none
|
||||
|
||||
Host *.nbsdn
|
||||
User hcartiaux
|
||||
Port 222
|
||||
ProxyCommand ssh srv.nbsdn -W `basename %h .nbsdn`.nbsdn.fr.eu.org:%p
|
||||
|
|
Loading…
Reference in a new issue