Thread
:
Becoming Root
View Single Post
rattis
2006-05-04 , 21:52
Posts: 319 | Thanked: 6 times | Joined on Apr 2006
#
14
sorry it took a while to post it. Actually forgot until halfway though watching doctor who.
#!/bin/sh -e
trap exit SIGHUP SIGINT SIGTERM
PATH=/bin:/usr/bin:/sbin:/usr/sbin
#MODE=`/usr/sbin/chroot /mnt/initfs cal-tool --get-rd-mode`
#if [ x$MODE = xenabled ]
#then
# echo "Root shell enabled"
/bin/sh
#else
# echo "Enable RD mode if you want to break your device"
#fi
#
Quote & Reply
|
rattis
View Public Profile
Send a private message to rattis
Find all posts by rattis