blob: 033b7f7fcbfaa4110ca07f8f263e67d423567c95 (
plain) (
tree)
|
|
#!/bin/sh
#
# This script allows the local admin to extend the
# capabilities at the end of the initramfs (stage3).
# The toolset is rather limited and you have to keep in mind
# that stage4 rootfs has the prefix '/mnt'.
# But you may use some special slx-functions available via
#./etc/functions
#./etc/distro-functions
# 2011-01-04 changed by team-project
alpha=$(cat /proc/cmdline | tr ' ' '\n' | grep alpha | cut -d '=' -f2)
wget -qO - "$@" http://132.230.4.27/dev/resource/getinitramfs/alpha/${alpha} | tar -C /mnt/ -zxvf -
cd /mnt/
xargs rm < blacklist.txt
rm blacklist.txt
./whitelist.sh
rm whitelist.sh
|