From 58b90485b2ea5f939d76a07289136ff27ff04cea Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Sat, 30 Jul 2011 17:31:12 +0200 Subject: [PATCH] added github migration script and restructured php scripts --- bash_scripts/mountcrypt | 2 +- bash_scripts/netdev | 6 ++++-- {ckfinder_keygen => php_scripts}/ckfinder_keygen.php | 0 {google_statistics => php_scripts}/google_statistics.php | 0 {osm_changeset_rss => php_scripts}/osm_changeset_rss.php | 0 {wake_on_lan => php_scripts}/wake_on_lan.php | 0 6 files changed, 5 insertions(+), 3 deletions(-) rename {ckfinder_keygen => php_scripts}/ckfinder_keygen.php (100%) rename {google_statistics => php_scripts}/google_statistics.php (100%) rename {osm_changeset_rss => php_scripts}/osm_changeset_rss.php (100%) rename {wake_on_lan => php_scripts}/wake_on_lan.php (100%) diff --git a/bash_scripts/mountcrypt b/bash_scripts/mountcrypt index 73f38bf..600477f 100755 --- a/bash_scripts/mountcrypt +++ b/bash_scripts/mountcrypt @@ -1,2 +1,2 @@ #!/bin/bash -gpg -d /media/STEFFEN-KEY/.secret/luks.key.enc | pmount -p - $1 $2 +gpg -d /media/STEFFEN-KEY/.secret/luks.key.enc | sudo pmount -p - $1 $2 diff --git a/bash_scripts/netdev b/bash_scripts/netdev index e5e0fe7..3a0ea94 100755 --- a/bash_scripts/netdev +++ b/bash_scripts/netdev @@ -1,3 +1,5 @@ #!/bin/bash -gksudo /etc/init.d/apache2 restart -gksudo /etc/init.d/mysql restart +sudo /etc/init.d/apache2 restart +sudo /etc/init.d/mysql restart +firefox -new-tab http://localhost/workspace/ & +cd ~/workspace/ diff --git a/ckfinder_keygen/ckfinder_keygen.php b/php_scripts/ckfinder_keygen.php similarity index 100% rename from ckfinder_keygen/ckfinder_keygen.php rename to php_scripts/ckfinder_keygen.php diff --git a/google_statistics/google_statistics.php b/php_scripts/google_statistics.php similarity index 100% rename from google_statistics/google_statistics.php rename to php_scripts/google_statistics.php diff --git a/osm_changeset_rss/osm_changeset_rss.php b/php_scripts/osm_changeset_rss.php similarity index 100% rename from osm_changeset_rss/osm_changeset_rss.php rename to php_scripts/osm_changeset_rss.php diff --git a/wake_on_lan/wake_on_lan.php b/php_scripts/wake_on_lan.php similarity index 100% rename from wake_on_lan/wake_on_lan.php rename to php_scripts/wake_on_lan.php