diff options
author | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2012-06-01 12:57:32 -0300 |
---|---|---|
committer | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2012-06-01 12:57:32 -0300 |
commit | a8a948b7ae57f660f61ce44251f938d9317c113b (patch) | |
tree | 519d9eb03bc0352e6a084c336f63bcc7ae00e794 /rc.shutdown | |
parent | 10c7127d5ff693a8f0c9671b9d3253315f2095be (diff) | |
parent | a20ce0e666b5c97080a880eee9d8301c3d48b177 (diff) |
Merge branch 'master' of git://projects.archlinux.org/initscripts2012.06.1
Conflicts:
hostname.5.txt
locale.conf.5.txt
Diffstat (limited to 'rc.shutdown')
-rwxr-xr-x | rc.shutdown | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/rc.shutdown b/rc.shutdown index ec30d56..d0d8405 100755 --- a/rc.shutdown +++ b/rc.shutdown @@ -19,18 +19,7 @@ run_hook shutdown_start stop_all_daemons -stat_busy "Saving Random Seed" - RANDOM_SEED=/var/lib/misc/random-seed - install -TDm 0600 /dev/null $RANDOM_SEED - POOL_FILE=/proc/sys/kernel/random/poolsize - if [[ -r $POOL_FILE ]]; then - read POOL_SIZE < $POOL_FILE - (( POOL_SIZE /= 8 )) - else - POOL_SIZE=512 - fi - dd if=/dev/urandom of=$RANDOM_SEED count=1 bs=$POOL_SIZE &>/dev/null -stat_done +status 'Saving Random Seed' /usr/lib/systemd/systemd-random-seed save [[ $TIMEZONE ]] && status "Configuring Time Zone" set_timezone "$TIMEZONE" |