aboutsummaryrefslogtreecommitdiff
path: root/ROMFS/px4fmu_common/init.d/rc.logging
diff options
context:
space:
mode:
authorpx4dev <px4@purgatory.org>2013-04-17 11:54:24 -0700
committerpx4dev <px4@purgatory.org>2013-04-17 11:54:24 -0700
commit31c6440b6491cd6310c9db72be200a4ffba689c9 (patch)
tree4f92ecc32803f88ca532c459b8769e98a7a6a1de /ROMFS/px4fmu_common/init.d/rc.logging
parent4703a689798e2a520dfb69c0ef9146f3ecb956f2 (diff)
downloadpx4-firmware-31c6440b6491cd6310c9db72be200a4ffba689c9.tar.gz
px4-firmware-31c6440b6491cd6310c9db72be200a4ffba689c9.tar.bz2
px4-firmware-31c6440b6491cd6310c9db72be200a4ffba689c9.zip
Un-ignore the *.d directories in the ROMFS directory to avoid ignoring the init.d directory and friends. This is rinky, but the alternatives are all a mess.
Diffstat (limited to 'ROMFS/px4fmu_common/init.d/rc.logging')
-rw-r--r--ROMFS/px4fmu_common/init.d/rc.logging9
1 files changed, 9 insertions, 0 deletions
diff --git a/ROMFS/px4fmu_common/init.d/rc.logging b/ROMFS/px4fmu_common/init.d/rc.logging
new file mode 100644
index 000000000..09c2d00d1
--- /dev/null
+++ b/ROMFS/px4fmu_common/init.d/rc.logging
@@ -0,0 +1,9 @@
+#!nsh
+#
+# Initialise logging services.
+#
+
+if [ -d /fs/microsd ]
+then
+ sdlog start
+fi