You are not logged in.
Pages: 1
/etc/init.d/system.sh: line 65: grepi: not found
# Activate an eventual swap file or partition
if ! grep -q 'noswap' /proc/cmdline; then
if blkid | grepi -q 'TYPE="swap"'; then
for swd in $(blkid | sed '/TYPE="swap"/!d;s/:.*//'); do
if ! grep -q "$swd " /etc/fstab; then
echo "Swap memory detected on: $swd"
cat >> /etc/fstab <<EOT
$swd swap swap defaults 0 0
EOT
fi
done
fi
Offline
http://hg.slitaz.org/slitaz-boot-scripts/rev/b730a4bf981d
http://hg.slitaz.org/wok/rev/d2357c7818f3
https://cook.slitaz.org/cooker.cgi?download=slitaz-boot-scripts-473.tazpkg
Offline
Thanks, mojo.
Offline
Pages: 1
[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]