diff options
| author | jandob | 2015-12-03 18:20:38 +0100 |
|---|---|---|
| committer | jandob | 2015-12-03 18:20:38 +0100 |
| commit | c719356d6bc7cde7f2e22d677ffdfcb905526d02 (patch) | |
| tree | 774a17ca996e22f5ad395704ce7da29cb4c5c84f /builder/dnbd3-rootfs | |
| parent | update rebash (diff) | |
| download | systemd-init-c719356d6bc7cde7f2e22d677ffdfcb905526d02.tar.gz systemd-init-c719356d6bc7cde7f2e22d677ffdfcb905526d02.tar.xz systemd-init-c719356d6bc7cde7f2e22d677ffdfcb905526d02.zip | |
fix
Diffstat (limited to 'builder/dnbd3-rootfs')
| -rwxr-xr-x | builder/dnbd3-rootfs/hooks/pre-mount/prepare-root-partition.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builder/dnbd3-rootfs/hooks/pre-mount/prepare-root-partition.sh b/builder/dnbd3-rootfs/hooks/pre-mount/prepare-root-partition.sh index 2492e493..70c4e1a7 100755 --- a/builder/dnbd3-rootfs/hooks/pre-mount/prepare-root-partition.sh +++ b/builder/dnbd3-rootfs/hooks/pre-mount/prepare-root-partition.sh @@ -59,7 +59,7 @@ if [ -n "$persistent_device" ]; then fi else local ramdisk_size="$SLX_RAMDISK_SIZE" - if [ "ramdisk_size" = "" ]; then + if [ "$ramdisk_size" = "" ]; then ramdisk_size=$(cat /proc/meminfo | awk '/MemTotal/ {print $2}') fi modprobe brd max_part=1 rd_size=$ramdisk_size |
