mirror of
https://github.com/token2/snapd.git
synced 2026-03-13 11:15:47 -07:00
As it was agreed with the team we are gonna use bash for the test helpers instead of using sh in case bash is not required.
9 lines
142 B
Bash
9 lines
142 B
Bash
#!/bin/bash
|
|
|
|
setup_ramdisk(){
|
|
if [ ! -e /dev/ram0 ]; then
|
|
mknod -m 660 /dev/ram0 b 1 0
|
|
chown root.disk /dev/ram0
|
|
fi
|
|
}
|