Skip to content
Snippets Groups Projects
Commit 3d244b68 authored by Christopher Spinrath's avatar Christopher Spinrath
Browse files

lipnsa hook: take lipstick path from first parameter

parent bfb3a15e
No related branches found
No related tags found
No related merge requests found
...@@ -2,12 +2,16 @@ ...@@ -2,12 +2,16 @@
# lipnsa.sh -- collecting your data for a better world # lipnsa.sh -- collecting your data for a better world
# Lars Beckers, larsb@fsmpi.rwth-aachen.de, September 2014 # 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" LIPSTATS="${LIPSTICK}/lipstats"
TARGET="/root" TARGET="/root"
LOGFUNCTIONSSOURCE="/scripts/casper-functions" 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 "collects system information, i.e. hardware and what the kernel thinks about it"
echo "called as liphook before leaving initramfs" echo "called as liphook before leaving initramfs"
echo "usage: lipnsa.sh" echo "usage: lipnsa.sh"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment