- Mitglied seit
- 16 Apr 2014
- Beiträge
- 7
- Punkte für Reaktionen
- 0
- Punkte
- 0
Hallo,
Danke für das mod! Freetz is awesome, and I am sorry but that is all the German I know (and ich lieber petersilie, because a friend told me this over dinner one night /uselessinfo). So I have to write in English I am sorry.
I have setup my 7390 with freetz, and also setup a debian bootstrap so that I can run a local nginx server from it.
To do this, I followed this guide for setting up a LAMP on fritz and made some minor changes.
Unfortunately, I'm not sure how to setup fritz so that on reboot it automatically starts up the Chroot environment mounted on my usb, and I'm hoping somebody here might be able to help.
When I turn on my fritz, freetz loads up, and I have to telnet in, then issue these commands:
Then I can start nginx, dropbear etc.
Is there a way I can tell freetz to run these commands once it is finished loading?
Many thanks,
Robert
Danke für das mod! Freetz is awesome, and I am sorry but that is all the German I know (and ich lieber petersilie, because a friend told me this over dinner one night /uselessinfo). So I have to write in English I am sorry.
I have setup my 7390 with freetz, and also setup a debian bootstrap so that I can run a local nginx server from it.
To do this, I followed this guide for setting up a LAMP on fritz and made some minor changes.
Unfortunately, I'm not sure how to setup fritz so that on reboot it automatically starts up the Chroot environment mounted on my usb, and I'm hoping somebody here might be able to help.
When I turn on my fritz, freetz loads up, and I have to telnet in, then issue these commands:
Code:
export MY_CHROOT="/var/media/ftp/uStor02/debian"
mount -t proc proc $MY_CHROOT/proc
mount -t sysfs sysfs $MY_CHROOT/sys
cp /proc/mounts $MY_CHROOT/etc/mtab
chroot $MY_CHROOT /bin/bash
Then I can start nginx, dropbear etc.
Is there a way I can tell freetz to run these commands once it is finished loading?
Many thanks,
Robert
Zuletzt bearbeitet: