28 Jun
2011
28 Jun
'11
1:27 p.m.
Note: The code status "$text" $command > $file writes nothing because there's a &>/dev/null within status(). --- rc.sysinit | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/rc.sysinit b/rc.sysinit index 864d2c7..fca8b43 100755 --- a/rc.sysinit +++ b/rc.sysinit @@ -219,7 +219,7 @@ status "Activating Swap" swapon -a RANDOM_SEED=/var/lib/misc/random-seed [[ -f $RANDOM_SEED ]] && status "Initializing Random Seed" \ - cat $RANDOM_SEED > /dev/urandom + cp $RANDOM_SEED /dev/urandom stat_busy "Removing Leftover Files" rm -rf /etc/{nologin,shutdownpid} /forcefsck /tmp/* /tmp/.* &>/dev/null -- 1.7.1