This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# --------------------------------------------------------------------------- | |
# Ubuntu Phone - Sync Owncloud Contacts & Calendar Account | |
# Carddav & Caldav. | |
# Tested on : Ubuntu-touch vivid - ubuntu-touch/rc-proposed/bq-aquaris.en/vegetahd/ | |
# Last edit : 2015/10/07. | |
# Author : Romain Fluttaz, boTux.fr, <romain@botux.fr> | |
# ============= [ Configuration ] ============= # |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Mount image desintion to /home/partimag as desired | |
# No wizards from here. Use the Clonezilla command line | |
# Abort script on any failures, print out commands for debugging | |
set -e | |
set -x | |
# Partition to clone | |
[ -n "$VG_NAME" ] || VG_NAME="systemvg" | |
[ -n "$LV_NAME" ] || LV_NAME="rootlv" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
# /usr/local/sbin/raspi-monitor | |
# Script to enable and disable the HDMI signal of the Raspberry PI | |
# Inspiration: http://www.raspberrypi.org/forums/viewtopic.php?t=16472&p=176258 | |
CMD="$1" | |
function on { | |
/opt/vc/bin/tvservice --preferred |