Index: scripts/run.sh =================================================================== diff -u -r7d23aecac8db9b7495e7d505f55bba5a0d510360 -r057d3ef4e29c63235040c5cfe8c6421ef7787d6a --- scripts/run.sh (.../run.sh) (revision 7d23aecac8db9b7495e7d505f55bba5a0d510360) +++ scripts/run.sh (.../run.sh) (revision 057d3ef4e29c63235040c5cfe8c6421ef7787d6a) @@ -1,5 +1,18 @@ #!/bin/sh - +# +# Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. +# \copyright \n +# THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, \n +# IN PART OR IN WHOLE, \n +# WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. \n +# \file run.sh +# \date 2019/10/28 +# \author Behrouz NematiPour +# \details +# This script will be called by autostart script in the /etc/init.d/ +# to initialize the Denali UI Application Software environment +# and finally calls the Application itself in background. +# HOME=/home/root SDCARD_DEV=/dev/mmcblk1p1 SDCARD_MNT=/media/sd-card @@ -32,9 +45,10 @@ fi #setting up can interface -ip link set can0 up type can bitrate 250000 +# current settings can be retrieved by the command below +# $ ip -details -statistics link show can0 +ip link set can0 up type can bitrate 250000 restart-ms 100 ifconfig can0 txqueuelen 4000 -sysctl net/core/netdev_max_backlog=4000 if [ $? -eq 0 ]; then echo ":: Can interface setup" fi @@ -58,4 +72,3 @@ #launching denali application $HOME/denali & -