OESF Portables Forum
General Forums => General Discussion => Topic started by: bam on July 26, 2005, 03:37:01 pm
-
where could I do this? Basically want to turn the swapfile on, and maybe a few "other" things. I was thinking qpe.sh, but not sure....
-
You can use rc.local, but you'll have to uncomment the call to rc.local in one of the other rc scripts (sorry can't remember which one ).
It's in /etc/rc.d/init.d
If you want to start a swap file at boot then just put it in your /etc/fstab and the kernel will take care of loading it at boot time.
Stu
-
what would be the line of script to add to fstab?
just /drive/swapfile? or
swapon /drive/swapfile ?
-
found something that works well
-
what would be the line of script to add to fstab?
just /drive/swapfile? or
swapon /drive/swapfile ?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=89690\"][{POST_SNAPBACK}][/a][/div]
something like
/mnt/card/swapfile none swap swap 0 0
Warning AIRCODE - I haven't tried this
Stu
-
hmmm will try just for the sake of knowledge