Lines 247-252
Link Here
|
247 |
read DISCARD |
247 |
read DISCARD |
248 |
} |
248 |
} |
|
|
249 |
press_to_continue_not_root () { |
250 |
local DISCARD |
251 |
if [ `/usr/bin/id -g` != 0 ]; then |
252 |
echo ' *** Press the [Enter] or [Return] key to continue running as NOT root' |
253 |
echo ' *** This script will require root privileges to be effective' |
254 |
echo -n ' *** ^C to abort' |
255 |
read DISCARD |
256 |
fi |
257 |
} |
258 |
|
259 |
|
260 |
# |
261 |
# Warn about running as non root |
262 |
# |
263 |
press_to_continue_not_root |
264 |
|
265 |
|
249 |
# Set the default path for the temporary root environment |
266 |
# Set the default path for the temporary root environment |
250 |
# |
267 |
# |
251 |
TEMPROOT='/var/tmp/temproot' |
268 |
TEMPROOT='/var/tmp/temproot' |