Skip to content

Commit

Permalink
Please enter the commit message for your changes. Lines starting
Browse files Browse the repository at this point in the history
  Changed the swap file creation from 128 K into 64 K
  Committer: christophecvr

 On branch master
	modified:   plugin/plugin.py
  • Loading branch information
Christophe Van Reusel committed Dec 23, 2012
1 parent 6241280 commit 8ce586c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugin/plugin.py
Expand Up @@ -460,7 +460,7 @@ def createswapcf(self):
self.mbox.close()
else:
os.system('sleep 1')
os.system('dd if=/dev/zero of=/media/cf/swapfile bs=1048576 count=128; mkswap /media/cf/swapfile')
os.system('dd if=/dev/zero of=/media/cf/swapfile bs=1048576 count=64; mkswap /media/cf/swapfile')
os.system('sleep 1')
msg = _("Done! You can now activate the SWAP on CF")
self.mbox2 = self.session.open(MessageBox, msg, MessageBox.TYPE_INFO)
Expand All @@ -475,7 +475,7 @@ def createswaphdd(self):
self.mbox.close()
else:
os.system('sleep 1')
os.system('dd if=/dev/zero of=/media/hdd/swapfile bs=1048576 count=128; mkswap /media/hdd/swapfile')
os.system('dd if=/dev/zero of=/media/hdd/swapfile bs=1048576 count=64; mkswap /media/hdd/swapfile')
os.system('sleep 1')
msg = _("Done! You can now activate the SWAP on HDD")
self.mbox2 = self.session.open(MessageBox, msg, MessageBox.TYPE_INFO)
Expand All @@ -490,7 +490,7 @@ def createswapusb(self):
self.mbox.close()
else:
os.system('sleep 1')
os.system('dd if=/dev/zero of=/media/usb/swapfile bs=1048576 count=128; mkswap /media/usb/swapfile')
os.system('dd if=/dev/zero of=/media/usb/swapfile bs=1048576 count=64; mkswap /media/usb/swapfile')
os.system('sleep 1')
msg = _("Done! You can now activate the SWAP on USB")
self.mbox2 = self.session.open(MessageBox, msg, MessageBox.TYPE_INFO)
Expand Down

0 comments on commit 8ce586c

Please sign in to comment.