Possibly add a Switch User entry to exit.luaForum: DSL Ideas and Suggestions Topic: Possibly add a Switch User entry to exit.lua started by: john.martzouco Posted by john.martzouco on Dec. 22 2007,16:29
Hi Robert,Would it be improper for me to suggest that a Switch User toggle be added to the Exit Options dialog? I find myself sharing the laptops with my wife regularly and it's a little tedious exit to shell, logout each time. I've not tried Frugal or Poorman's install, so I don't know if the multi-user environment is used there or not... and that is why I ask with if it's appropriate. I've been able to get some of it done on my own, but haven't figured out how /etc/init.d/functions5.lua calls the logout processes. I would hope the Switch User option would exit to shell and then logout the current user. Here is what I've been able to achieve so far in exit.lua:
Much thanks, John |