--- a/override/foresight
+++ b/override/foresight
@@ -1,4 +1,3 @@
 #!/bin/sh
 
-sed -i "s/kernel \/boot\/ubnkern/kernel \/boot\/ubnkern ramdisk_size=8192/g" $1
-
+./functions/kernpar $1 'ramdisk_size=8192'