diff options
Diffstat (limited to 'recipes-kernel/sllin/files/start_lin_demo.sh')
-rwxr-xr-x | recipes-kernel/sllin/files/start_lin_demo.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes-kernel/sllin/files/start_lin_demo.sh b/recipes-kernel/sllin/files/start_lin_demo.sh index 26f64c0a1..c7627ca74 100755 --- a/recipes-kernel/sllin/files/start_lin_demo.sh +++ b/recipes-kernel/sllin/files/start_lin_demo.sh @@ -4,7 +4,8 @@ if [ -c /dev/ttyUSB0 ]; then sleep 1 /usr/bin/lin_config -c /etc/lin_config.conf -a sllin:/dev/ttyUSB0 - pidof lin_config > /var/run/lin_config.pid + mkdir -p /run/lin_config/ + pidof lin_config > /run/lin_config/lin_config.pid sleep 1 else ip link add dev sllin0 type vcan |