36 lines
1.1 KiB
Plaintext
Executable File
36 lines
1.1 KiB
Plaintext
Executable File
#!/bin/
|
|
|
|
function mnt312admin() {
|
|
smount sysadmin@admin.sj312.net:/home/sysadmin /mnt/312/admin/sysadmin -p 22
|
|
smount sysadmin@admin.sj312.net:/opt /mnt/312/admin/opt -p 22
|
|
smount sysadmin@admin.sj312.net:/data /mnt/312/admin/data -p 22
|
|
smount sysadmin@admin.sj312.net:/shell /mnt/312/admin/shell -p 22
|
|
smount root@admin.sj312.net:/ /mnt/312/admin/root -p 22
|
|
smount root@admin.sj312.net:/etc /mnt/312/admin/etc -p 22
|
|
}
|
|
|
|
function umnt312admin() {
|
|
usmount /mnt/312/admin/opt
|
|
usmount /mnt/312/admin/data
|
|
usmount /mnt/312/admin/root
|
|
usmount /mnt/312/admin/shell
|
|
usmount /mnt/312/admin/etc
|
|
usmount /mnt/312/admin/sysadmin
|
|
}
|
|
|
|
function mnt312tv() {
|
|
smount sysadmin@tv.sj312.net:/home/sysadmin /mnt/312/tv/sysadmin -p 22
|
|
smount sysadmin@tv.sj312.net:/opt /mnt/312/tv/opt -p 22
|
|
smount sysadmin@tv.sj312.net:/data /mnt/312/tv/data -p 22
|
|
smount root@tv.sj312.net:/ /mnt/312/tv/root -p 22
|
|
smount root@tv.sj312.net:/etc /mnt/312/tv/etc -p 22
|
|
}
|
|
|
|
function umnt312tv() {
|
|
usmount /mnt/312/tv/opt
|
|
usmount /mnt/312/tv/data
|
|
usmount /mnt/312/tv/root
|
|
usmount /mnt/312/tv/etc
|
|
usmount /mnt/312/tv/sysadmin
|
|
}
|