]>
git.zerfleddert.de Git - m1-debian/blob - files/rc.local
fbd572af7950ba1f8e10f80dbb9dabb266b49b13
3 # [x] resize root filesystem
4 # [ ] find boot partition
7 # [ ] extract wifi firmware
8 # [ ] reloads the kernel modules
15 open(MOUNT
, '<', '/proc/mounts') || die ("Can not open /proc/mounts for reading: $!");
20 if (/^([\S]+)+ \/ /) {
25 die("Could not find root device");
28 my $root_block_device = find_root_device
();
30 system("resize2fs $root_block_device");