elrengo
Regular Contributor
Hi! I have two routers: RT-AC3100 + RT-AC66U_B1. The AC3100 as main router and the AC66 as AiMesh node. Both with Assuswrt Merlin firmware up to date.
In AC3100 router I've a My Passwort USB3 HDD attached where I've two paritions. Ther first one where is installed Entware and installed rtorret to be a Seedbox. The second partition is a SWAP.
I've a scripts:
The post-mount script:
The swapon is working. When I check with "free" command I found the swap:
But alway I need to mount mannualy both cifs shares. They are attached to a media center, WD HD TV Live, I use to copy movies download via torrent to the mediacenter using wired connection instead of wirelles with better bandwith and transference rate.
What its happen that not will be mounted in each reboot.
Thanks!
El Rengo
In AC3100 router I've a My Passwort USB3 HDD attached where I've two paritions. Ther first one where is installed Entware and installed rtorret to be a Seedbox. The second partition is a SWAP.
I've a scripts:
Code:
elrengo@RT-AC3100:/jffs/scripts# pwd
/jffs/scripts
elrengo@RT-AC3100:/jffs/scripts# ls -l
-rwxr-xr-x 1 elrengo root 25889 Feb 8 17:19 amtm
-rwxrwxrwx 1 elrengo root 237 Feb 8 18:21 firewall-start
-rwxr-xr-x 1 elrengo root 247 May 9 22:32 post-mount
-rwxr-xr-x 1 elrengo root 224 Feb 8 17:25 post-mount.div
-rwxr-xr-x 1 elrengo root 77 Feb 8 17:25 services-stop
The post-mount script:
Code:
elrengo@RT-AC3100:/jffs/scripts# cat post-mount
#!/bin/sh
. /jffs/scripts/post-mount.div # Added by amtm Entware installer
swapon /dev/sda1
mount \\\\192.168.1.30\\Seagate_Expansion_Drive /cifs2 -t cifs -o "username=elrengo"
mount \\\\192.168.1.30\\My_Book /cifs1 -t cifs -o "username=elrengo"
The swapon is working. When I check with "free" command I found the swap:
Code:
elrengo@RT-AC3100:/jffs/scripts# free
total used free shared buffers cached
Mem: 515184 241284 273900 0 1376 18616
-/+ buffers/cache: 221292 293892
Swap: 1048572 0 1048572
elrengo@RT-AC3100:/jffs/scripts#
But alway I need to mount mannualy both cifs shares. They are attached to a media center, WD HD TV Live, I use to copy movies download via torrent to the mediacenter using wired connection instead of wirelles with better bandwith and transference rate.
What its happen that not will be mounted in each reboot.
Thanks!
El Rengo