From 093645cb30aa46ce3433a3fbc51b2ccea84f72eb Mon Sep 17 00:00:00 2001 From: vanhofen Date: Wed, 30 Aug 2017 17:47:26 +0200 Subject: [PATCH] - hd1: move node-creation directly to rcS --- skel-root/coolstream/hd1/etc/init.d/rcS | 22 ++++++++++++++++++++-- skel-root/coolstream/hd1/sbin/mknodes | 23 ----------------------- 2 files changed, 20 insertions(+), 25 deletions(-) delete mode 100755 skel-root/coolstream/hd1/sbin/mknodes diff --git a/skel-root/coolstream/hd1/etc/init.d/rcS b/skel-root/coolstream/hd1/etc/init.d/rcS index 49062074..a2166f91 100755 --- a/skel-root/coolstream/hd1/etc/init.d/rcS +++ b/skel-root/coolstream/hd1/etc/init.d/rcS @@ -34,8 +34,26 @@ date -s "2017-01-01 00:00" # directory for wireless drivers mkdir -p /var/run/wpa_supplicant -# create cs-drivernodes -mknodes +# create nodes +# +makedevs /dev << EONODES +watchdog c 644 0 0 10 130 +cnxt d 755 0 0 +cnxt/cnxt_gen_drv c 644 0 0 102 0 +notifyq c 644 0 0 102 1 +user_kal c 644 0 0 102 2 +display c 644 0 0 238 0 +cs_control c 644 0 0 249 0 +input d 755 0 0 +input/nevis_ir c 644 0 0 240 0 +input/event0_uinput c 644 0 0 10 223 +input/mouse c 644 0 0 13 32 0 1 4 +input/event2 c 644 0 0 13 66 +input/event3 c 644 0 0 13 67 +EONODES + +ln -sf nevis_ir /dev/input/event0 +ln -sf nevis_ir /dev/input/input0 service hostname start diff --git a/skel-root/coolstream/hd1/sbin/mknodes b/skel-root/coolstream/hd1/sbin/mknodes deleted file mode 100755 index fc550944..00000000 --- a/skel-root/coolstream/hd1/sbin/mknodes +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh -/bin/echo "running $0" -# - -makedevs /dev << EOF -watchdog c 644 0 0 10 130 -cnxt d 755 0 0 -cnxt/cnxt_gen_drv c 644 0 0 102 0 -notifyq c 644 0 0 102 1 -user_kal c 644 0 0 102 2 -display c 644 0 0 238 0 -cs_control c 644 0 0 249 0 -input d 755 0 0 -input/nevis_ir c 644 0 0 240 0 -input/event0_uinput c 644 0 0 10 223 -input/mouse c 644 0 0 13 32 0 1 4 -input/event2 c 644 0 0 13 66 -input/event3 c 644 0 0 13 67 -EOF -ln -sf nevis_ir /dev/input/event0 -ln -sf nevis_ir /dev/input/input0 - -/bin/echo "done $0"