Scripts
The scripts in Table A-2 are automatically called to install, uninstall, and update the .run software package. The script storage path is subject to the path specified during the installation. The following uses the default path /usr/local/Ascend as an example.
Name |
Path |
Description |
---|---|---|
run_firmware_install.sh |
/usr/local/Ascend/firmware/ |
Installs firmware. |
run_firmware_uninstall.sh |
/usr/local/Ascend/firmware/ |
Uninstalls firmware. |
install_common_parser.sh |
/usr/local/Ascend/firmware/ |
Parses the filelist.csv file. |
install.sh |
/usr/local/Ascend/firmware/ |
Entry script for installing the firmware installation package. |
host_sys_stop.sh |
/usr/local/Ascend/ |
Stops the background processes. |
host_sys_init.sh |
/usr/local/Ascend/ |
Starts the background processes. |
host_server_setup.sh |
/usr/local/Ascend/ |
Obtains the system configuration information and invokes the host_sys_init.sh script. |
host_servers_remove.sh |
/usr/local/Ascend/ |
Removes startup configuration including host_sys_init.sh. |
install.sh |
/usr/local/Ascend/driver/script/ |
Entry script for installing the driver installation package |
run_driver_dkms_install.sh |
/usr/local/Ascend/driver/script/ |
Loads modules to DKMS. |
run_driver_dkms_uninstall.sh |
/usr/local/Ascend/driver/script/ |
Uninstalls modules from DKMS. |
run_driver_install.sh |
/usr/local/Ascend/driver/script/ |
Installs, uninstalls, or updates (in immediate or delayed mode) driver. |
run_driver_uninstall.sh |
/usr/local/Ascend/driver/script/ |
Uninstalls driver. |
run_driver_tool_install.sh |
/usr/local/Ascend/driver/script/ |
Installs the tool. |
run_driver_tool_uninstall.sh |
/usr/local/Ascend/driver/script/ |
Uninstalls the tool. |
install_common_parser.sh |
/usr/local/Ascend/driver/script/ |
Parses the filelist.csv file. |
install_npudrv.sh |
/usr/local/Ascend/driver/tools/ |
Script for privileged container, updating driver of the host in the container. |