Browse Source

- move rcK away from skel-root

master
vanhofen 5 years ago
parent
commit
29b6bee139
  1. 4
      make/target-scripts.mk
  2. 0
      skel-root/general/files-etc/init.d/rcK
  3. 25
      skel-root/hd2/etc/init.d/rcK
  4. 25
      skel-root/hd51/etc/init.d/rcK
  5. 25
      skel-root/vuduo/etc/init.d/rcK
  6. 25
      skel-root/vuplus/etc/init.d/rcK

4
make/target-scripts.mk

@ -7,6 +7,7 @@ init-scripts: \
$(TARGET_DIR)/etc/init.d/globals \
$(TARGET_DIR)/etc/init.d/functions \
$(TARGET_DIR)/etc/init.d/rc \
$(TARGET_DIR)/etc/init.d/rcK \
$(TARGET_DIR)/etc/init.d/camd \
$(TARGET_DIR)/etc/init.d/camd_datefix \
$(TARGET_DIR)/etc/init.d/coredump \
@ -31,6 +32,9 @@ $(TARGET_DIR)/etc/init.d/functions:
$(TARGET_DIR)/etc/init.d/rc:
$(INSTALL_EXEC) -D $(TARGET_FILES)/files-etc/init.d/rc $(@)
$(TARGET_DIR)/etc/init.d/rcK:
$(INSTALL_EXEC) -D $(TARGET_FILES)/files-etc/init.d/rcK $(@)
$(TARGET_DIR)/etc/init.d/camd:
$(INSTALL_EXEC) -D $(TARGET_FILES)/scripts/camd.init $(@)
$(UPDATE-RC.D) $(@F) defaults 98 01

0
skel-root/hd1/etc/init.d/rcK → skel-root/general/files-etc/init.d/rcK

25
skel-root/hd2/etc/init.d/rcK

@ -1,25 +0,0 @@
#!/bin/sh
. /etc/profile
. /etc/init.d/functions
. /etc/init.d/globals
SHOWINFO "start"
if [ -e /tmp/.flash.start ]; then
lcd4l_cmd=stop
lcd4l_msg="Updating STB ..."
else
lcd4l_cmd=off
lcd4l_msg="Shutdown STB ..."
fi
# first stopping lcd4linux
test -d /tmp/lcd/ && echo ${lcd4l_msg} > /tmp/lcd/goodbye
service lcd4linux ${lcd4l_cmd}
# stopping services and daemons in order of the symlink names
LOGINFO "run initscripts stop ..."
run_initscripts stop
SHOWINFO "done"

25
skel-root/hd51/etc/init.d/rcK

@ -1,25 +0,0 @@
#!/bin/sh
. /etc/profile
. /etc/init.d/functions
. /etc/init.d/globals
SHOWINFO "start"
if [ -e /tmp/.flash.start ]; then
lcd4l_cmd=stop
lcd4l_msg="Updating STB ..."
else
lcd4l_cmd=off
lcd4l_msg="Shutdown STB ..."
fi
# first stopping lcd4linux
test -d /tmp/lcd/ && echo ${lcd4l_msg} > /tmp/lcd/goodbye
service lcd4linux ${lcd4l_cmd}
# stopping services and daemons in order of the symlink names
LOGINFO "run initscripts stop ..."
run_initscripts stop
SHOWINFO "done"

25
skel-root/vuduo/etc/init.d/rcK

@ -1,25 +0,0 @@
#!/bin/sh
. /etc/profile
. /etc/init.d/functions
. /etc/init.d/globals
SHOWINFO "start"
if [ -e /tmp/.flash.start ]; then
lcd4l_cmd=stop
lcd4l_msg="Updating STB ..."
else
lcd4l_cmd=off
lcd4l_msg="Shutdown STB ..."
fi
# first stopping lcd4linux
test -d /tmp/lcd/ && echo ${lcd4l_msg} > /tmp/lcd/goodbye
service lcd4linux ${lcd4l_cmd}
# stopping services and daemons in order of the symlink names
LOGINFO "run initscripts stop ..."
run_initscripts stop
SHOWINFO "done"

25
skel-root/vuplus/etc/init.d/rcK

@ -1,25 +0,0 @@
#!/bin/sh
. /etc/profile
. /etc/init.d/functions
. /etc/init.d/globals
SHOWINFO "start"
if [ -e /tmp/.flash.start ]; then
lcd4l_cmd=stop
lcd4l_msg="Updating STB ..."
else
lcd4l_cmd=off
lcd4l_msg="Shutdown STB ..."
fi
# first stopping lcd4linux
test -d /tmp/lcd/ && echo ${lcd4l_msg} > /tmp/lcd/goodbye
service lcd4linux ${lcd4l_cmd}
# stopping services and daemons in order of the symlink names
LOGINFO "run initscripts stop ..."
run_initscripts stop
SHOWINFO "done"
Loading…
Cancel
Save