Skip to content

Commit

Permalink
norns.expand_filesystem() (#1670)
Browse files Browse the repository at this point in the history
* Update norns.lua

* Update norns.lua
  • Loading branch information
dndrks authored Apr 5, 2023
1 parent 54b0e26 commit f13866b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lua/core/norns.lua
Original file line number Diff line number Diff line change
Expand Up @@ -260,3 +260,8 @@ end
norns.rerun = function()
norns.script.load(norns.state.script)
end

-- expand the filesystem after a fresh installation
norns.expand_filesystem = function()
os.execute('sudo raspi-config --expand-rootfs')
end

0 comments on commit f13866b

Please sign in to comment.