Many thanks for your kind help,
Installed xargs,Now got this:
ASUSWRT-Merlin RT-AC68U_3.0.0.4 Fri Jan 31 05:21:52 UTC 2014
wei@RT-AC68U:/tmp/home/root# /opt/etc/init.d/S99debian start
Chroot'ed services seems to be already started, exiting...
wei@RT-AC68U:/tmp/home/root# /opt/etc/init.d/S99debian stop
Stopping chroot'ed Debian services...
[FAIL] Stopping minidlna: failed!
umount: can't umount /tmp/mnt/sda1/debian/dev: Device or resource busy
Done.
wei@RT-AC68U:/tmp/home/root#
Router runnning owncloud follow this guide:
http://forums.smallnetbuilder.com/showthread.php?t=15528&highlight=debian
I wrote Service-start was:
#!/bin/sh
sleep 10
mount -o bind /dev/ /mnt/sda1/debian/dev/
mount -o bind /proc/ /mnt/sda1/debian/proc/
mount -o bind /sys/ /mnt/sda1/debian/sys/
/mnt/sda1/debian/utils/chroot /mnt/sda1/debian service lighttpd start
May be it is no good??
Installed xargs,Now got this:
ASUSWRT-Merlin RT-AC68U_3.0.0.4 Fri Jan 31 05:21:52 UTC 2014
wei@RT-AC68U:/tmp/home/root# /opt/etc/init.d/S99debian start
Chroot'ed services seems to be already started, exiting...
wei@RT-AC68U:/tmp/home/root# /opt/etc/init.d/S99debian stop
Stopping chroot'ed Debian services...
[FAIL] Stopping minidlna: failed!
umount: can't umount /tmp/mnt/sda1/debian/dev: Device or resource busy
Done.
wei@RT-AC68U:/tmp/home/root#
Router runnning owncloud follow this guide:
http://forums.smallnetbuilder.com/showthread.php?t=15528&highlight=debian
I wrote Service-start was:
#!/bin/sh
sleep 10
mount -o bind /dev/ /mnt/sda1/debian/dev/
mount -o bind /proc/ /mnt/sda1/debian/proc/
mount -o bind /sys/ /mnt/sda1/debian/sys/
/mnt/sda1/debian/utils/chroot /mnt/sda1/debian service lighttpd start
May be it is no good??
Wait, you don't have xargs installed from point 5
Outside debian install findutils
Code:ipkg install nano http://goo.gl/5Ltmig