config backup

This commit is contained in:
2020-12-19 22:29:42 +01:00
parent fa8016839d
commit 8013140d20
612 changed files with 33 additions and 116473 deletions

2
tools/additional.stuff Normal file
View File

@@ -0,0 +1,2 @@
smbclient cifs-utils
virtualbox-ext-oracle

1
tools/nas.sh Executable file
View File

@@ -0,0 +1 @@
sudo mount -t cifs //10.0.1.220/data /mnt/truenas -o username=tobimai,password=tobi10203,workgroup=workgroup,iocharset=utf8

10
tools/nas_connect.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/zsh
if [[ -z $1 || -z $2 || -z $3 || -z $4 || -z $5 ]]
then
echo "Not enought arguments found"
echo "Input IP, shaqre, username, password and mountname"
else
sudo mkdir -p /mnt/$5
sudo chown -c $USER /mnt/$5
sudo mount -t cifs //$1/$2 /mnt/$5 -o username=$3,password=$4,iocharset=utf8,uid=$EUID,vers=2.0
fi

2
tools/stuff.txt Normal file
View File

@@ -0,0 +1,2 @@
# list SMB shares
smbclient -L 10.0.1.1 -UTobias