mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-12-25 17:27:01 +00:00
Userland tools for new installer
This commit is contained in:
11
packages/base/all/vendor-config-onl/src/bin/loader-shell
Executable file
11
packages/base/all/vendor-config-onl/src/bin/loader-shell
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Run native ONIE tools
|
||||
"""
|
||||
|
||||
import sys
|
||||
import distutils.sysconfig
|
||||
sys.path.append("/usr/lib/python%s/dist-packages"
|
||||
% distutils.sysconfig.get_python_version())
|
||||
import onl.install.ShellApp
|
||||
onl.install.ShellApp.Loader.main()
|
||||
11
packages/base/all/vendor-config-onl/src/bin/onie-shell
Executable file
11
packages/base/all/vendor-config-onl/src/bin/onie-shell
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Run native ONIE tools
|
||||
"""
|
||||
|
||||
import sys
|
||||
import distutils.sysconfig
|
||||
sys.path.append("/usr/lib/python%s/dist-packages"
|
||||
% distutils.sysconfig.get_python_version())
|
||||
import onl.install.ShellApp
|
||||
onl.install.ShellApp.Onie.main()
|
||||
11
packages/base/all/vendor-config-onl/src/bin/onl-install
Executable file
11
packages/base/all/vendor-config-onl/src/bin/onl-install
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Install switch light
|
||||
"""
|
||||
|
||||
import sys
|
||||
import distutils.sysconfig
|
||||
sys.path.append("/usr/lib/python%s/dist-packages"
|
||||
% distutils.sysconfig.get_python_version())
|
||||
import onl.install.App
|
||||
onl.install.App.main()
|
||||
11
packages/base/all/vendor-config-onl/src/bin/onl-recover
Executable file
11
packages/base/all/vendor-config-onl/src/bin/onl-recover
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Recover switch light
|
||||
"""
|
||||
|
||||
import sys
|
||||
import distutils.sysconfig
|
||||
sys.path.append("/usr/lib/python%s/dist-packages"
|
||||
% distutils.sysconfig.get_python_version())
|
||||
import onl.install.RecoverApp
|
||||
onl.install.RecoverApp.main()
|
||||
11
packages/base/all/vendor-config-onl/src/bin/pyfit
Executable file
11
packages/base/all/vendor-config-onl/src/bin/pyfit
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Swiss-army-knife FIT decoder
|
||||
"""
|
||||
|
||||
import sys
|
||||
import distutils.sysconfig
|
||||
sys.path.append("/usr/lib/python%s/dist-packages"
|
||||
% distutils.sysconfig.get_python_version())
|
||||
import onl.install.Fit
|
||||
onl.install.Fit.App.main()
|
||||
Reference in New Issue
Block a user