Commit 3d244b68 authored by Christopher Spinrath's avatar Christopher Spinrath

lipnsa hook: take lipstick path from first parameter

parent bfb3a15e
......@@ -2,12 +2,16 @@
# lipnsa.sh -- collecting your data for a better world
# Lars Beckers, larsb@fsmpi.rwth-aachen.de, September 2014
LIPSTICK="/cdrom"
LIPSTICK="/root/cdrom"
if [ -n "$1" ] && [ ! "$1" == "--help" ]; then
LIPSTICK="$1"
fi
LIPSTATS="${LIPSTICK}/lipstats"
TARGET="/root"
LOGFUNCTIONSSOURCE="/scripts/casper-functions"
if [ $# -gt 0 ]; then
if [ "$1" == "--help" ]; then
echo "collects system information, i.e. hardware and what the kernel thinks about it"
echo "called as liphook before leaving initramfs"
echo "usage: lipnsa.sh"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment