Bu scriptle passworet degisebilirsiniz !!!
Script:
Kod:
#! /bin/sh
################################################################
# install result reboot
################################################################
export INSTALL_SUCCESS_NO_REBOOT=0
export INSTALL_SUCCESS_REBOOT=1
LED_DEVICE=/proc/led_mod/led
if [ ! -f /proc/led_mod/led ] ; then
LED_DEVICE=/var/led
echo "set led: ${LED_DEVICE}"
fi
echo $0 >> /var/tmp/cvcv
################################################################
# Power LED blinken lassen
################################################################
echo "set INFO led to blink (modul=7, state=4)"
echo 7,4>${LED_DEVICE}
cat /var/flash/debug.cfg | sed -e "/^PASSWD=/s#.*#PASSWD='36d6NYYMch85U'#" > /var/tmp/debug.cfg
cat /var/tmp/debug.cfg > /var/flash/debug.cfg
echo 'echo $0: done' >/var/post_install
chmod +x /var/post_install
echo "set INFO led to blink (modul=7, state=4)"
echo 7,4>${LED_DEVICE}
exit $INSTALL_SUCCESS_REBOOT
Paylaş