918-git-images-111dconfigfileconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacionwebconsole3
Line | |
---|
1 | #!/bin/bash |
---|
2 | OGAPI=/opt/opengnsys/lib/engine/bin/ |
---|
3 | source $OGAPI/System.lib |
---|
4 | source $OGAPI/Disk.lib |
---|
5 | source $OGAPI/FileSystem.lib |
---|
6 | |
---|
7 | while getopts "c:F:s:" flags |
---|
8 | do |
---|
9 | case "$flags" in |
---|
10 | s) |
---|
11 | PART=`echo $OPTARG` |
---|
12 | FS=$(ogGetFsType `ogDevToDisk $PART` | tr [:upper:] [:lower:]) |
---|
13 | PARAM1="partclone.$FS --clone --force --source $PART" |
---|
14 | echo $PARAM1 |
---|
15 | ;; |
---|
16 | esac |
---|
17 | done |
---|
18 | |
---|
19 | |
---|
20 | |
---|
Note: See
TracBrowser
for help on using the repository browser.