1 # Veternica raspberry pi deployment in cave
4 pi@raspberrypi ~ $ uname -a
5 Linux raspberrypi 3.18.7+ #755 PREEMPT Thu Feb 12 17:14:31 GMT 2015 armv6l GNU/Linux
8 pi@raspberrypi ~ $ cat /etc/os-release
9 PRETTY_NAME="Raspbian GNU/Linux 7 (wheezy)"
10 NAME="Raspbian GNU/Linux"
16 HOME_URL="http://www.raspbian.org/"
17 SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
18 BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs
21 # make filesystem read-only
25 change default to ro for / and /boot
31 root@raspberrypi:/home/pi# cat /boot/cmdline.txt
32 dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait ro
34 ## emit output from script to console
36 start-stop-daemon --no-close
38 in vi /etc/init.d/gumb.sh
43 6 corrput root /dev/sdc2