summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjetil Ørbekk <orbekk@pvv.ntnu.no>2008-08-15 21:35:34 +0200
committerKjetil Ørbekk <orbekk@pvv.ntnu.no>2008-08-15 21:35:34 +0200
commit97b8102bd1d1da7e99276abfc1c823a220dfa7e5 (patch)
tree48337ad3938762653e8a2e52b32dfc3b9ba2f225
parent194feb8f68c6c92e14302471177adf40fc357e93 (diff)
Added initialization script
-rw-r--r--initialize.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/initialize.sh b/initialize.sh
new file mode 100644
index 0000000..e167ee7
--- /dev/null
+++ b/initialize.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+sqlite3 $HOME/.mfs.db < dbschema.sql
+
+cat > $HOME/.mfsrc <<EOF
+# This is the musicfs configuration file. Lines starting with "#"s are
+# comments.
+#
+# So far, only musicpaths can be configured. Add one path on its own
+# line for every music path you want musicfs to scan. Do not add
+# anything on the line exept for the musicpath.
+#
+# Example:
+# /home/orbekk/Music
+EOF
+
+echo "./musicfs -d # to start musicfs"