I can't think of anything that regular, manually created lock files can't handle for my situation, whereas the flock implementation I outlined above has a flaw, which I also mentioned.
I'm sure...
Type: Posts; User: terminator14; Keyword(s):
I can't think of anything that regular, manually created lock files can't handle for my situation, whereas the flock implementation I outlined above has a flaw, which I also mentioned.
I'm sure...
I'm using bash.
Your way works. It might need a few additional lines to handle:
Your script exiting unexpectedly
You need a trap on SIGINT, EXIT, etc to catch that and remove the lock...
I work for a satellite internet provider, and we have a main server that keeps all the info about all the current satellite dishes in a mysql database.
I have multiple scripts that all need to pull...
It's certainly more likely to work, since there is upstart-specific code in the script, but there's no guarantee that some other change that was made between Ubuntu 14.10 and 15.04 (which I assume is...
Sounds like a fairly basic system. Thanks though - good to hear it works.
I try :)
On my linkedin page - yes. Using this project to make my resume sound nicer was obviously not the...
Awesome :)
From a programmer's point of view however, "the program works flawlessly" and "the program worked for one user in one configuration in such a way as to not have seemed to do anything it...
Things take more and more RAM every year. 4GB used to be plenty - now it's almost the minimum. These days, 1.5 GB for a system you actually want to do stuff on (watch youtube, surf the web, etc) is...
I have not tried Lubuntu, but the image appears to be 700MB. 1.5GB, 700MB of which will be taken up by the image itself leaves you with 800MB of usable RAM tops. That's not very much RAM - my firefox...
Good to hear you got it going.
Ya - messing with kernels and grub can be loads of fun. When you add the increased complexity of RAM Session (which does a few tricks to make sure grub does NOT find...
As far as I can tell, you were able to install the 3.13.0-48-generic kernel using the chroot, but it apparently did not automatically tell grub to rebuild itself, which I'm pretty sure it should...
It seems that you've deleted your main kernel for your Original OS.
Reinstalling everything is a bit drastic at this point, as there are several ways to recover.
Try this:
Boot into the RAM...
Thanks :)
Awesome!
Wow - thanks guys. :D
Thanks. I'm glad to hear you're happy with it.
There are many improvements that could be made to the scripts - that is probably one of them. Unfortunately, it would take me days, if not weeks,...
Again, for Mint 17.1, you're better off using RAM_booster_Ubuntu_14.04_ng_BETA.sh.
You're running them wrong.
http://www.cyberciti.biz/faq/howto-run-a-script-in-linux/
After reading that, watch the video for how to use my script specifically:...
The latest version of Mint (17.1) is NOT based on the latest version of Ubuntu (14.10). Instead, it is based on the slightly older Ubuntu 14.04.
This means that my Ubuntu 14.04 script is better...
It was NOT tested with Mint. Which version of Mint are you using? If I have a few minutes, I might give it a try, and if the problems are quick fixes, and don't complicate the code too much, I might...
Wow. Interesting.
Off the top of my head, I know that the code that unmounts the chroot (in redit and rupdate) specifically checks that no upstart services are running. In systemd, it would need...
Awesome!
What are you using to run VMs? VMware? VirtualBox?
Oh - that's what you meant. Wow - that is pretty interesting - I would have been uncertain if that was possible.
PS. Awesome diagram!
A VM is how I do all my testing. Being able to reset the entire OS to a known good state in 5 seconds with one button (vmware snapshots) is hundreds of times easier than reinstalling the entire...
The code for 14.04_BETA is almost exactly the same as the code for 14.10_ng.sh.
I first wrote the 14.10_ng script, than made a copy of it and made only the changes that were necessary to get it...