Author Topic: Cacko & Rc.local  (Read 2128 times)

ethan

  • Newbie
  • *
  • Posts: 5
    • View Profile
Cacko & Rc.local
« on: June 03, 2006, 06:48:10 pm »
cacko 1.23 / c3200

I created a swapfile on internal md and try to active it on startup
I've already try to add the command

/sbin/swapon /hdd3/swapfile

in rc.local or qpe.sh, but doesn't work
also I tryid to add in /etc/fstab

/hdd3/swapfile   swap  swap   default

not working either

and I try to change the bash prompt
.bashrc
.profile
also not working
I'm kind of stuck

bam

  • Hero Member
  • *****
  • Posts: 1213
    • View Profile
    • http://thegrinder.ws
Cacko & Rc.local
« Reply #1 on: June 03, 2006, 09:47:51 pm »
1. add it to youyr /etc/fstab
2. remount the / as rw 'mount -o remount,rw /'
3. add 'swapon /hdd3/swapfile' to the bottom of your /sbin/hddmount


sideNote: you could just set up a nice swap partition
« Last Edit: June 03, 2006, 09:55:29 pm by bam »
SL-C3100 current: Stock/Tetsu 18h
Socket BT CF Card
Linksys WCF-12 802.11b/Cheapie USB Ethernet

The Grinder