Index: scripts/run.sh =================================================================== diff -u -r7d23aecac8db9b7495e7d505f55bba5a0d510360 -rbb8f39a014644c70b832dd2a784f62fa9f6b6106 --- scripts/run.sh (.../run.sh) (revision 7d23aecac8db9b7495e7d505f55bba5a0d510360) +++ scripts/run.sh (.../run.sh) (revision bb8f39a014644c70b832dd2a784f62fa9f6b6106) @@ -1,5 +1,9 @@ #!/bin/sh - +# +# This script will be called by autostart script in the /etc/init.d/ +# to initialize the Denali UI Application Software environment +# and finaly calls the Application itself in background. +# HOME=/home/root SDCARD_DEV=/dev/mmcblk1p1 SDCARD_MNT=/media/sd-card @@ -32,9 +36,10 @@ fi #setting up can interface -ip link set can0 up type can bitrate 250000 -ifconfig can0 txqueuelen 4000 -sysctl net/core/netdev_max_backlog=4000 +# 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 if [ $? -eq 0 ]; then echo ":: Can interface setup" fi