diff --git a/device-control/device-control b/device-control/device-control index db5e8f3..2fe3d75 100755 Binary files a/device-control/device-control and b/device-control/device-control differ diff --git a/device-health/device-health b/device-health/device-health index e23c9d7..49a0456 100755 Binary files a/device-health/device-health and b/device-health/device-health differ diff --git a/heartbeat/device-heartbeat b/heartbeat/device-heartbeat index 547a1f3..0d39b09 100755 Binary files a/heartbeat/device-heartbeat and b/heartbeat/device-heartbeat differ diff --git a/heartbeat/install.sh b/heartbeat/install.sh index 3feb880..87d7742 100755 --- a/heartbeat/install.sh +++ b/heartbeat/install.sh @@ -1,5 +1,6 @@ #!/bin/bash +sudo mkdir -p /etc/sdt/device-heartbeat sudo cp device-heartbeat /usr/local/bin/ sudo cp device-heartbeat.service /etc/systemd/system/ sudo systemctl start device-heartbeat diff --git a/init.sh b/init.sh index 48fe2a3..765ed44 100755 --- a/init.sh +++ b/init.sh @@ -5,10 +5,11 @@ set -e if [ $(id -u) -ne 0 ]; then echo "Please run as root. - sudo su" exit -elif [ $1 == "help" ]; then +else echo "Please input parameter. follow as:" - echo "Example) Organzation ID=58a311aa-f52a-40e3-af44-cdec82b9d0b7 SerialNumbe=ECN-SJ-TEST-001 Type=ecn" - exit + echo "Organzation ID=58a311aa-f52a-40e3-af44-cdec82b9d0b7" + echo "SerialNumber=ECN-SJ-TEST-001" + echo "Type=ecn" fi echo "If you need help, please enter follow as:" diff --git a/process-checker/install.sh b/process-checker/install.sh index 185a56a..0a06b4d 100755 --- a/process-checker/install.sh +++ b/process-checker/install.sh @@ -1,5 +1,6 @@ #!/bin/bash +sudo mkdir -p /etc/sdt/process-checker sudo cp process-checker /usr/local/bin/ sudo cp process-checker.service /etc/systemd/system/ sudo systemctl start process-checker diff --git a/process-checker/process-checker b/process-checker/process-checker index 6cf5327..45fca66 100755 Binary files a/process-checker/process-checker and b/process-checker/process-checker differ