diff options
Diffstat (limited to 'minirc.install')
-rw-r--r-- | minirc.install | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/minirc.install b/minirc.install new file mode 100644 index 000000000000..aa5e30cf5eaa --- /dev/null +++ b/minirc.install @@ -0,0 +1,11 @@ +post_install() { + if [[ -z $( grep -i 'needs_root_rights = yes' /etc/X11/Xwrapper.config 2> /dev/null ) ]]; then + echo '==> In order to use X, add the following to /etc/X11/Xwrapper.config + allowed_users = anybody + needs_root_rights = yes' + fi +} + +post_upgrade() { + post_install +} |