From ac4e28da7b5ed25e75d93ca2066f8b58b1c3ed5f Mon Sep 17 00:00:00 2001 From: tv <4z3.pp@src.mine.nu> Date: Thu, 4 Aug 2011 02:42:51 +0300 Subject: add newest and best eroot version ever --- cholerab/enterprise/README | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cholerab') diff --git a/cholerab/enterprise/README b/cholerab/enterprise/README index cf54c1e9..24458ffe 100644 --- a/cholerab/enterprise/README +++ b/cholerab/enterprise/README @@ -26,10 +26,10 @@ Enterprise Root --------------- scripts which need root access but are called with lower privileges. The Enterprise Root Pattern provides a Solution for this issue by calling the script itself as sudo. -if [ ! `id -u` -eq "0" ] -then - echo "not root, trying sudo" +if test "${nosudo-false}" != true -a `id -u` != 0; then + echo "we're going sudo..." >&2 exec sudo "$0" "$@" + exit 23 # go to hell fi // enterprise ist, wenn ... trotzdem matcht -- cgit v1.2.3 From 6cf65628ec3292074872c67b4471372f3526afb3 Mon Sep 17 00:00:00 2001 From: tv <4z3.pp@src.mine.nu> Date: Thu, 4 Aug 2011 02:45:22 +0300 Subject: Describe eon harder --- cholerab/enterprise/README | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cholerab') diff --git a/cholerab/enterprise/README b/cholerab/enterprise/README index 24458ffe..03c1c068 100644 --- a/cholerab/enterprise/README +++ b/cholerab/enterprise/README @@ -16,8 +16,9 @@ Enterprise Installation Rebooting ---------- -Enterprise Einschalter --------------------- +Enterprise Einschalter (eon) +---------------------------- +Device that turns something on as soon as possible. Supernintendo Pattern --------------------- -- cgit v1.2.3