From 5925d100873559a85be17c9f0c0f2f11236125a1 Mon Sep 17 00:00:00 2001 From: michael pereira Date: Fri, 11 Mar 2011 00:47:06 +0100 Subject: postinit.local geaendert --- postinit.local | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 postinit.local diff --git a/postinit.local b/postinit.local new file mode 100755 index 0000000..c0eee20 --- /dev/null +++ b/postinit.local @@ -0,0 +1,21 @@ +#!/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 -- cgit v1.2.3-55-g7522