Advertisement
Monarch73

rc.local raspbian

Aug 22nd, 2017
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. echo "18" > /sys/class/gpio/export
  2. echo "out" > /sys/class/gpio/gpio18/direction
  3. /etc/init.d/samba start
  4. /usr/sbin/ntpdate -u -s 216.239.35.8
  5. mount -t squashfs /root/redmine332.squashfs /mnt/redmine
  6. unionfs-fuse -o cow,allow_other,suid,dev /mnt/redmine-changes/=RW:/mnt/redmine=ro /mnt/redmine-aufs/
  7. mount --bind /dev /mnt/redmine-aufs/dev
  8. /usr/bin/screen -dmS redmine /usr/sbin/chroot /mnt/redmine-aufs/ /startme.sh
  9. mount -t squashfs /root/fhem-alexa.squashfs /mnt/alexa
  10. unionfs-fuse -o cow,allow_other,suid,dev /mnt/alexa-changes/=RW:/mnt/alexa=ro /mnt/alexa-aufs/
  11. mount --bind /dev /mnt/alexa-aufs/dev
  12. /usr/bin/screen -dmS alexa /usr/sbin/chroot /mnt/alexa-aufs/ /startme.sh
  13. exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement