|
@ -9,7 +9,7 @@ function ee_lib_create_swap() |
|
|
# Swap Parameters: |
|
|
# Swap Parameters: |
|
|
# Location: /swapfile |
|
|
# Location: /swapfile |
|
|
# Block Size: 1024 |
|
|
# Block Size: 1024 |
|
|
ee_lib_echo "Adding 1GB swapfile" |
|
|
ee_lib_echo "Adding 1GB swapfile, please wait..." |
|
|
dd if=/dev/zero of=/swapfile bs=1024 count=1024k &>> $EE_COMMAND_LOG \ |
|
|
dd if=/dev/zero of=/swapfile bs=1024 count=1024k &>> $EE_COMMAND_LOG \ |
|
|
|| ee_lib_error "Unable to generate /swapfile, exit status = " $? |
|
|
|| ee_lib_error "Unable to generate /swapfile, exit status = " $? |
|
|
|
|
|
|
|
|