add bin/mib conf dual file

This commit is contained in:
2024-10-19 15:36:39 +08:00
parent 8feba9929d
commit 6156304aed
99 changed files with 66362 additions and 1 deletions

24
bin/wxc2_omcdm Normal file
View File

@@ -0,0 +1,24 @@
#!/bin/sh
#program name
if [ `whoami` != "root" ] ; then
echo "Permission denied!"
exit
fi
. /etc/rc.d/init.d/functions
procName=omcMain
pid=`status $procName`
#pid=`pidof omcMain`
echo $pid
if [ "$pid" == "omcMain is stopped" ]; then
echo "restart..."
wxc2dm=`/usr/local/omc/bin/wxc2_omcd restart`
else
echo "existing..."
fi