[scripts] only add zfs service to the boot runlevel if uname -m = x86_64

This commit is contained in:
Fabio Erculiani 2012-09-05 17:50:34 +02:00
parent edc441069b
commit 3cccf93baf
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ basic_environment_setup() {
rc-update del sabayon-mce default
rc-update add nfsmount default
if [ -f /etc/init.d/zfs ]; then
if [ -f /etc/init.d/zfs ] && [ "$(uname -m)" = "x86_64" ]; then
rc-update add zfs boot
fi