version 1.417, 2013/12/27 23:43:39 |
version 1.418, 2013/12/28 01:00:18 |
|
|
if [ X"$1" = X"shutdown" ]; then |
if [ X"$1" = X"shutdown" ]; then |
random_seed |
random_seed |
|
|
|
# XXX If root is writeable, assume we are not single user |
chmod 600 /etc/random.seed >/dev/null 2>&1 |
chmod 600 /etc/random.seed >/dev/null 2>&1 |
_notsingle=$? # root is writeable, so we are not single user?? |
_notsingle=$? |
|
|
if [ ${_notsingle} -eq 0 ]; then |
if [ ${_notsingle} -eq 0 ]; then |
if [ -n "${pkg_scripts}" ]; then |
if [ -n "${pkg_scripts}" ]; then |
echo -n 'stopping package daemons:' |
echo -n 'stopping package daemons:' |