#!/bin/bash

set -x
mkdir -p /usr/local/bin/kube-scripts
cp -r ./npu-sharedevice.sh /usr/local/bin/kube-scripts/
cp -r npu-sharedevice.service /etc/systemd/system/
systemctl daemon-reload
systemctl restart npu-sharedevice
systemctl enable npu-sharedevice
set +x
