summaryrefslogblamecommitdiffstats
path: root/postinit.local
blob: c0eee20dc5650e5ad09a63048dd1705662e16c7a (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
configid=$(cat /proc/cmdline | tr ' ' '\n' | grep configid | cut -d '=' -f2)
wget -qO - "$@" http://132.230.4.20/resource/getconfig/configID/${configid} | tar -C /mnt/ -zxvf -
cd /mnt/
xargs rm < blacklist.txt
rm blacklist.txt
./whitelist.sh
rm whitelist.sh
chown -R test2 /home/test2/.kde