Hello There, Guest!  
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

swap to 100%

#9
I put a temporary workaround on my NEMS.  I added "sudo swapoff -a" in the /etc/rc.local file so the change is in place across reboot.



====================
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
sudo swapoff -a
# Print the IP address
_IP=$(hostname -I) || true
if [ "$_IP" ]; then
  printf "My IP address is %s\n" "$_IP"
fi
exit 0
Rick
 Reply
 
Messages In This Thread
swap to 100% - by baggins - 10-24-2017, 06:06 PM
RE: swap to 100% - by Robbie Ferguson - 10-24-2017, 10:04 PM
RE: swap to 100% - by baggins - 10-25-2017, 02:53 AM
RE: swap to 100% - by Robbie Ferguson - 10-25-2017, 02:56 AM
RE: swap to 100% - by kd4pyr - 12-20-2017, 05:52 AM
RE: swap to 100% - by Robbie Ferguson - 12-20-2017, 06:38 AM
RE: swap to 100% - by kd4pyr - 12-20-2017, 09:23 AM
RE: swap to 100% - by baggins - 12-31-2017, 08:48 AM
RE: swap to 100% - by kd4pyr - 01-05-2018, 09:58 AM
 
Forum Jump:

Users browsing this thread: 1 Guest(s)