#!/bin/sh

# Authlevel Changer 1.0
# Copyright(c) 2003 by commx

rm accounts.0
DATETIMESTAMP=`date +%s`

echo ""
echo ""
echo "-- User '$1' added to user-database."
echo "-- Authlevel set to 255."
echo "$1 255 $DATETIMESTAMP" >> accounts.0 
echo "--- End of users" >> accounts.0
echo ""
echo ""
echo "-- L Installation finished!"
echo "-- Generating Startfile..."
echo "#!/bin/sh" >> L
echo "nohup ./lightweight &" >> L
echo "echo L started." >> L
chmod 755 L
echo "-- Done."
echo ""
echo ""
echo "Start L now using ./L"
echo "Have Fun, commx."
