mirror of https://github.com/OpenIPC/firmware.git
[no ci] Overlay: add logger to rcs script (#1529)
parent
28a8aba338
commit
9bb9dccd67
|
@ -2,6 +2,8 @@
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
start)
|
start)
|
||||||
|
date -s @$(grep TIME_STAMP /etc/os-release | cut -d= -f2)
|
||||||
|
|
||||||
if [ ! -e /etc/custom.ok ] && [ -e /usr/share/openipc/customizer.sh ]; then
|
if [ ! -e /etc/custom.ok ] && [ -e /usr/share/openipc/customizer.sh ]; then
|
||||||
echo "Run customizer script..."
|
echo "Run customizer script..."
|
||||||
sh /usr/share/openipc/customizer.sh
|
sh /usr/share/openipc/customizer.sh
|
||||||
|
|
|
@ -7,7 +7,7 @@ for i in /etc/init.d/S??*; do
|
||||||
[ ! -f "$i" ] && continue
|
[ ! -f "$i" ] && continue
|
||||||
case "$i" in
|
case "$i" in
|
||||||
*)
|
*)
|
||||||
$i start
|
$i start | logger -s
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
|
@ -18,6 +18,9 @@ VTUND_OPENIPC_CONF_OPTS += --disable-lzo --disable-ssl --disable-zlib
|
||||||
VTUND_OPENIPC_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -std=gnu89"
|
VTUND_OPENIPC_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -std=gnu89"
|
||||||
|
|
||||||
define VTUND_OPENIPC_INSTALL_TARGET_CMDS
|
define VTUND_OPENIPC_INSTALL_TARGET_CMDS
|
||||||
|
$(INSTALL) -m 755 -d $(TARGET_DIR)/etc/init.d
|
||||||
|
$(INSTALL) -m 755 -t $(TARGET_DIR)/etc/init.d $(VTUND_OPENIPC_PKGDIR)/files/S98vtun
|
||||||
|
|
||||||
$(INSTALL) -m 755 -d $(TARGET_DIR)/usr/sbin
|
$(INSTALL) -m 755 -d $(TARGET_DIR)/usr/sbin
|
||||||
$(INSTALL) -m 755 -t $(TARGET_DIR)/usr/sbin $(VTUND_OPENIPC_PKGDIR)/files/tapip
|
$(INSTALL) -m 755 -t $(TARGET_DIR)/usr/sbin $(VTUND_OPENIPC_PKGDIR)/files/tapip
|
||||||
$(INSTALL) -m 755 -t $(TARGET_DIR)/usr/sbin $(VTUND_OPENIPC_PKGDIR)/files/tunnel
|
$(INSTALL) -m 755 -t $(TARGET_DIR)/usr/sbin $(VTUND_OPENIPC_PKGDIR)/files/tunnel
|
||||||
|
|
Loading…
Reference in New Issue