34 lines
1.1 KiB
Bash
34 lines
1.1 KiB
Bash
#!/bin/bash
|
|
|
|
function mntccadmin() {
|
|
smount sysadmin@admin.cc.gpccaor.net:/home/sysadmin /mnt/gpcca/admin/sysadmin -p 22
|
|
smount sysadmin@admin.cc.gpccaor.net:/opt /mnt/gpcca/admin/opt -p 22
|
|
smount sysadmin@admin.cc.gpccaor.net:/data /mnt/gpcca/admin/data -p 22
|
|
smount root@admin.cc.gpccaor.net:/ /mnt/gpcca/admin/root -p 22
|
|
smount root@admin.cc.gpccaor.net:/etc /mnt/gpcca/admin/etc -p 22
|
|
}
|
|
|
|
function umntccadmin() {
|
|
usmount /mnt/gpcca/admin/opt
|
|
usmount /mnt/gpcca/admin/data
|
|
usmount /mnt/gpcca/admin/root
|
|
usmount /mnt/gpcca/admin/etc
|
|
usmount /mnt/gpcca/admin/sysadmin
|
|
}
|
|
|
|
function mntccav() {
|
|
smount sysadmin@av.cc.gpccaor.net:/home/sysadmin /mnt/gpcca/av/sysadmin -p 22
|
|
smount sysadmin@av.cc.gpccaor.net:/opt /mnt/gpcca/av/opt -p 22
|
|
smount sysadmin@av.cc.gpccaor.net:/data /mnt/gpcca/av/data -p 22
|
|
smount root@av.cc.gpccaor.net:/ /mnt/gpcca/av/root -p 22
|
|
smount root@av.cc.gpccaor.net:/etc /mnt/gpcca/av/etc -p 22
|
|
}
|
|
|
|
function umntccav() {
|
|
usmount /mnt/gpcca/av/opt
|
|
usmount /mnt/gpcca/av/data
|
|
usmount /mnt/gpcca/av/root
|
|
usmount /mnt/gpcca/av/etc
|
|
usmount /mnt/gpcca/av/sysadmin
|
|
}
|