mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=127780k,nr_inodes=31945,mode=755)
proc on /proc type proc (rw,relatime)
tmpfs on /tmp type tmpfs (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
/dev/mtdblock4 on /jffs type jffs2 (rw,noatime)
usbfs on /proc/bus/usb type usbfs (rw,relatime)
/dev/sda1 on /tmp/mnt/sda1 type tntfs (rw,nodev,relatime,uid=0,gid=0,umask=00,nls=utf8,min_prealloc_size=64k,max_prealloc_size=732572668,readahead=1M,user_xattr,case_sensitive,disable_sparse,nocache,fail_safe,hidden=show,dotfile=show,errors=continue,mft_zone_multiplier=1)
Yes, after restart I can immediately run sh post-mount in /jffs/scripts and it starts the server with no problems.
I edited: /sda1/asusware.arm/etc/init.d/S50downloadmaster and I managed to run commands at startup but only svnserve command is ignored..., it shows the system logs and creates /tmp/ file, but svnserve is not running:
#!/bin/sh
logger -t $(basename $0) "111Postmount: Started"
LD_LIBRARY_PATH=/opt/lib /opt/bin/svnserve -d -r /tmp/mnt/sda1/repo
logger -t $(basename $0) "111Postmount: Started AFTER SVN"
#! /bin/sh
touch /tmp/postmount.txt
is_arm_machine=`uname -m |grep arm`
.....
System log:
Jan 22 23:02:13 admin: sh /opt/S50asuslighttpd.1 start
Jan 22 23:02:17 admin: sh /opt/S50downloadmaster.1 start
Jan 22 23:02:17 S50downloadmaster.1: 111Postmount: Started^M
Jan 22 23:02:18 S50downloadmaster.1: 111Postmount: Started AFTER SVN^M
Jan 22 23:02:18 rc_service: hotplug 812:notify_rc restart_nasapps
Jan 22 23:02:18 iTunes: daemon is stopped