RT-IPC_camera/bin/vslocal/cgi-bin/ap_ssid.sh

13 lines
198 B
Bash

#!/bin/sh
get_ap_ssid()
{
####LUOHE-P2P中间的数字
APPrefix="CAMDUCK"
P2P_ID=`paraconf r 1 P2P_ID`
APPostfix=`echo ${P2P_ID} | awk -F'-' '{print $2}'`
echo $APPrefix-$APPostfix
}