fixed the options of depmod(remove -e).
[vuplus_openvuplus] / meta-openvuplus / recipes-core / initscripts / initscripts-1.0 / vuduo2 / bootup_3.1
1 #Double check driver existence
2 if lsmod | grep -q 'brcmfb'; then      
3         echo driver is installed  
4 else                           
5         for mod in procmk dvb-bcm7424 brcmfb fpga_directc; do
6                 modprobe $mod
7         done
8 fi
9
10 depmod -A
11
12 # sleep after 10min
13 hdparm -S 120 /dev/sda
14
15 # accustic management
16 hdparm -M128 /dev/sda
17
18 if [ ! -h /boot/bootlogo.mvi ]; then                                                                                               
19         ln -sf /usr/share/bootlogo.mvi /boot/bootlogo.mvi                                                                          
20 fi                                                                                                                                 
21                                                                                                                                    
22 if [ ! -h /boot/bootlogo_wait.mvi ]; then                                                                                          
23         ln -sf /usr/share/bootlogo_wait.mvi /boot/bootlogo_wait.mvi                                                                
24 fi                                                                                                                                 
25                                      
26 if [ ! -h /boot/backdrop.mvi ]; then                                                                                               
27         ln -sf /usr/share/backdrop.mvi /boot/backdrop.mvi
28 fi
29
30 [ -e /etc/dropbear/dropbear_rsa_host_key ] && /usr/bin/showiframe /boot/bootlogo.mvi || /usr/bin/showiframe /boot/bootlogo_wait.mvi
31
32 ipkg-cl configure
33
34 if [ -f /usr/local/bin/vucamd ]; then
35         /usr/local/bin/vucamd &
36 fi
37