View Single Post
Posts: 53 | Thanked: 48 times | Joined on Dec 2008 @ Montreal, Canada
#287
Originally Posted by FOFAO556 View Post
Just 1 question: I really edited the swapon file or I created like a "batch" file to be run at start up?
The nano command created the swapon.sh file, since the file did not exist, and then opened it for editing.

The first line added to the swapon.sh file
Code:
#/bin/sh
is used to invoke the default shell. Now we have a script (or "batch").

The update-rc.d command set the swapon.sh file to start automatically.

So to answer your question, you did both

Shaq
 

The Following User Says Thank You to born2wonder For This Useful Post: