Compare commits
5 Commits
38dc3ab73a
...
modularize
| Author | SHA1 | Date | |
|---|---|---|---|
|
2ebb72620b
|
|||
|
25afed7541
|
|||
|
b8b5918feb
|
|||
|
fd177fa071
|
|||
|
aaa209a056
|
@@ -54,6 +54,7 @@ openssh-{client,server} \
|
||||
popularity-contest \
|
||||
printer-driver-all \
|
||||
rsync \
|
||||
sudo \
|
||||
systemd-timesyncd \
|
||||
tasksel \
|
||||
zfs-initramfs \
|
||||
|
||||
4
wifi.sh
4
wifi.sh
@@ -35,9 +35,9 @@ nmcli radio wifi on
|
||||
nmcli device wifi list
|
||||
|
||||
printf "Enter the SSID of the WiFi network you wish to connect to:\n"
|
||||
read -r WIFI_NAME
|
||||
read -r wifiName
|
||||
|
||||
nmcli --ask device wifi connect ${wifiName}
|
||||
nmcli --ask device wifi connect "${wifiName}"
|
||||
|
||||
cat << EOF
|
||||
|
||||
|
||||
6
zfs.sh
6
zfs.sh
@@ -222,17 +222,13 @@ if [[ "${1}" == '--key' ]]; then
|
||||
fi
|
||||
|
||||
if [[ "${1}" == '--unmount' ]]; then
|
||||
mount | grep -v zfs | tac | awk '/\/mnt/ {print $3}' | xargs -I {} umount -lf {}
|
||||
|
||||
if [[ "${ID}" == 'fedora' ]]; then
|
||||
umount \
|
||||
-nR \
|
||||
/mnt
|
||||
fi
|
||||
|
||||
zpool \
|
||||
export \
|
||||
-a
|
||||
${hostname,,}
|
||||
fi
|
||||
|
||||
if [[ "${1}" == '--host-id' ]]; then
|
||||
|
||||
Reference in New Issue
Block a user