Small bugfix, Uploaded USB Contents

This commit is contained in:
2026-08-17 15:33:19 -04:00
parent 2941ddbece
commit 455e961b9c
977 changed files with 180053 additions and 8 deletions
+4 -4
View File
@@ -246,22 +246,22 @@ get_device () {
do do
read -r device read -r device
logresponse "$device" logresponse "$device"
while [[ ! $device =~ ^sd[a-z]$ ]] && [[ ! $device =~ ^nvme0n[0-9]$ ]]; while [[ ! $device =~ ^sd[a-z]$ ]] && [[ ! $device =~ ^nvme[0-9]n[0-9]$ ]];
do do
if [[ $device = "help" ]]; if [[ $device = "help" ]];
then then
loginfo "The UNIX filesystem thinks of storage devices as directories, which are under /dev/" loginfo "The UNIX filesystem thinks of storage devices as directories, which are under /dev/"
loginfo "If you have a SATA connection, you will be looking for sd{a-z}." loginfo "If you have a SATA connection, you will be looking for sd{a-z}."
loginfo "If you have a NVME connection, you will be looking for nvme0n{0-9}." loginfo "If you have a NVME connection, you will be looking for nvme{0-9}n{0-9}."
else else
logwarn "Invalid format, device should follow naming conventions. (i.e. sd{a-z}, nvme0n{0-9})" logwarn "Invalid format, device should follow naming conventions. (i.e. sd{a-z}, nvme{0-9}n{0-9})"
fi fi
read -r device read -r device
logresponse "$device" logresponse "$device"
done done
if [[ $devicetype = "HDD_SATA" ]] || [[ $devicetype = "SSD_SATA" ]]; if [[ $devicetype = "HDD_SATA" ]] || [[ $devicetype = "SSD_SATA" ]];
then then
if [[ $device =~ ^nvme0n[0-9]$ ]]; if [[ $device =~ ^nvme[0-9]n[0-9]$ ]];
then then
logwarn "Device was specified to be a SATA HDD or SSD, but a NVME device was chosen." logwarn "Device was specified to be a SATA HDD or SSD, but a NVME device was chosen."
device= device=
+4 -4
View File
@@ -183,22 +183,22 @@ get_device () {
do do
read -r device read -r device
logresponse "$device" logresponse "$device"
while [[ ! $device =~ ^sd[a-z]$ ]] && [[ ! $device =~ ^nvme0n[0-9]$ ]]; while [[ ! $device =~ ^sd[a-z]$ ]] && [[ ! $device =~ ^nvme[0-9]n[0-9]$ ]];
do do
if [[ $device = "help" ]]; if [[ $device = "help" ]];
then then
loginfo "The UNIX filesystem thinks of storage devices as directories, which are under /dev/" loginfo "The UNIX filesystem thinks of storage devices as directories, which are under /dev/"
loginfo "If you have a SATA connection, you will be looking for sd{a-z}." loginfo "If you have a SATA connection, you will be looking for sd{a-z}."
loginfo "If you have a NVME connection, you will be looking for nvme0n{0-9}." loginfo "If you have a NVME connection, you will be looking for nvme{0-9}n{0-9}."
else else
logwarn "Invalid format, device should follow naming conventions. (i.e. sd{a-z}, nvme0n{0-9})" logwarn "Invalid format, device should follow naming conventions. (i.e. sd{a-z}, nvme{0-9}n{0-9})"
fi fi
read -r device read -r device
logresponse "$device" logresponse "$device"
done done
if [[ $devicetype = "HDD_SATA" ]] || [[ $devicetype = "SSD_SATA" ]]; if [[ $devicetype = "HDD_SATA" ]] || [[ $devicetype = "SSD_SATA" ]];
then then
if [[ $device =~ ^nvme0n[0-9]$ ]]; if [[ $device =~ ^nvme[0-9]n[0-9]$ ]];
then then
logwarn "Device was specified to be a SATA HDD or SSD, but a NVME device was chosen." logwarn "Device was specified to be a SATA HDD or SSD, but a NVME device was chosen."
device= device=
+3
View File
@@ -0,0 +1,3 @@
[.ShellClassInfo]
CLSID={645FF040-5081-101B-9F08-00AA002F954E}
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-8964
@@ -0,0 +1,19 @@
#!/bin/bash
#!/usr/bin/env bash
netid=
echo "Enter netid: "
read -r netid
while [[ $netid =~ ^\s*$ ]];
do
echo "Your netid cannot be blank."
echo "Enter netid: "
done
if ! kinit "$netid"@EGR.MSU.MSU
then
exit
fi
mkdir /mnt/decs
mount -t cifs -o user="$netid",sec=krb5i "//decs/decs/support/dban_logs" /mnt/decs
echo "test" > "/mnt/decs/test.txt"
@@ -0,0 +1,3 @@
[Trash Info]
Path=test_network_drive.sh
DeletionDate=2026-04-23T11:20:12
+1
View File
@@ -0,0 +1 @@
alpine-extended-3.23.3 260127
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More