diff options
| -rw-r--r-- | recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend b/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend deleted file mode 100644 index a14f28b4..00000000 --- a/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend +++ /dev/null | |||
| @@ -1,21 +0,0 @@ | |||
| 1 | |||
| 2 | pkg_postinst_${PN} () { | ||
| 3 | #!/bin/sh | ||
| 4 | # run this on the target | ||
| 5 | if [ "x$D" == "x" ]; then | ||
| 6 | tmp="${SERIAL_CONSOLES_CHECK}" | ||
| 7 | for i in $tmp | ||
| 8 | do | ||
| 9 | j=`echo ${i} | sed s/^.*\;//g` | ||
| 10 | if [ -z "`cat /proc/consoles | grep ${j}`" ]; then | ||
| 11 | sed -i /^.*${j}$/d /etc/inittab | ||
| 12 | fi | ||
| 13 | done | ||
| 14 | kill -HUP 1 | ||
| 15 | elif [ -d "$D" ]; then | ||
| 16 | exit 0 | ||
| 17 | else | ||
| 18 | exit 1 | ||
| 19 | fi | ||
| 20 | } | ||
| 21 | |||
