-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
25 lines (19 loc) · 835 Bytes
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
echo " ----------------------------------------------------------- "
echo ""
echo " -------------- starting installing --------------------- "
echo ""
echo " ----------------------------------------------------------- "
cd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
echo current directory is `pwd`
./access_point/install.sh
./server/install.sh
./audio/install.sh
./video/install.sh
#sudo sed -i -e '/exit 0/{r rc.local/add-to-rc.local.txt' -e 'd' -e '}' /etc/rc.local
#echo " -------- after updating /etc/rc.local, the content of rc.local is: ---------- "
cat /etc/rc.local
echo " ----------------------------------------------------------- "
echo ""
echo " -------------- finished installing --------------------- "
echo ""
echo " ----------------------------------------------------------- "