Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
liushilongbuaa committed Sep 13, 2023
1 parent 6f7455f commit 84201a2
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
36 changes: 36 additions & 0 deletions files/scripts/dpu.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#!/bin/bash

function debug()
{
/usr/bin/logger $1
/bin/echo `date` "- $1" >> ${DEBUGLOG}
}

start() {
debug "Starting ${SERVICE}$DEV service..."
}

wait() {
}

stop() {
debug "Stopping ${SERVICE}$DEV service..."

/usr/bin/${SERVICE}.sh stop $DEV
debug "Stopped ${SERVICE}$DEV service..."
}

DEV=$2

SERVICE="lldp"
DEBUGLOG="/tmp/lldp-debug$DEV.log"

case "$1" in
start|wait|stop)
$1
;;
*)
echo "Usage: $0 {start|wait|stop}"
exit 1
;;
esac
1 change: 1 addition & 0 deletions rules/docker-dpu.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ DOCKER_DPU_STEM = docker-dpu
DOCKER_DPU = $(DOCKER_DPU_STEM).gz

$(DOCKER_DPU)_PACKAGE_NAME = dpu
$(DOCKER_DPU)_CONTAINER_NAME = dpu
$(DOCKER_DPU)_URL = https://sonicstoragepublic.blob.core.windows.net/public/ubuntu.gz
$(DOCKER_DPU)_MACHINE = vs
$(DOCKER_DPU)_VERSION = 1.0.0
Expand Down

0 comments on commit 84201a2

Please sign in to comment.