Hi!
How can I extract an archive before LOGIN (at boot)?
I add this to /etc/rc.local:
mkdir /mnt/RAM-tmpfs
mount -t tmpfs -o rw,size=650M tmpfs /mnt/RAM-tmpfs
sleep 6
tar xvzf /home/uSeR1/tmpfs_browser.tar.gz -C /mnt/RAM-tmpfs
sleep 3
exit 0
Whats wrong?
Because, I can see and use after Login '/mnt/RAM-tmpfs'
but there is no folder "tmpfs_browser" inside this tmpfs-partition.
Can someone help please? Thanks!