Started tracking my linux preferences.

This commit is contained in:
Jorge Vásquez Pérez
2020-10-07 10:04:51 -07:00
parent ed1908699f
commit c46338f7f8
7 changed files with 56 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
#
# /etc/hosts: static lookup table for host names
#
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost
192.168.1.1 router.casa.vm router
#abe 10:BF:48:00:2B:AA
192.168.1.106 abe.casa.vm abe
#bmo 00:24:8C:9C:01:FD
192.168.1.101 bmo.casa.vm bmo
192.168.1.102 saturno.casa.vm saturno
192.168.1.10 impresora.casa.vm impresora
#paraulata eth0 40:62:31:08:53:05
#paraulata eth1 40:62:31:08:53:06
#paraulata wl1 74:2F:68:54:A3:C1
192.168.1.142 paraulata.casa.vm paraulata
::1 localhost.localdomain localhost
# End of file
+3
View File
@@ -0,0 +1,3 @@
#!/bin/bash
alias lsblk="lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL,UUID"
alias ls='ls --color=auto'
@@ -0,0 +1,13 @@
[Unit]
Description=Monitor with udevadm for inserter external drives and mount them
After=network.target
[Service]
User=root
Group=root
ExecStart=/root/scripts/automount.sh
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target
+1
View File
@@ -0,0 +1 @@
D /media 0775 jorge casavm 0 -
@@ -0,0 +1,2 @@
SUBSYSTEM=="block" ACTION=="add" \
RUN+="/root/scripts/remount.sh"
+5
View File
@@ -0,0 +1,5 @@
# UDISKS_FILESYSTEM_SHARED
# ==1: mount filesystem to a shared directory (/media/VolumeName)
# ==0: mount filesystem to a private directory (/run/media/$USER/VolumeName)
# See udisks(8)
ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{UDISKS_FILESYSTEM_SHARED}="1"