]> Raphaƫl G. Git Repositories - distcook/blob - lib/export.sh
Add root.mount to ignored files
[distcook] / lib / export.sh
1 #! /bin/sh -e
2
3 # Clear config
4 cat /dev/null > root.conf
5
6 # Append every config parameters
7 for i in `cat config/*.conf | perl -pne 'undef $_ if /^#/; s/=.*$//'`; do
8 echo "$i='$(eval echo \$$i)'" | tee -a root.conf
9 done