[util-iso-profile] add a profile lib

This commit is contained in:
udeved 2015-03-02 21:11:35 +01:00
parent 6342435f49
commit 5df328c70a

18
lib/util-iso-profile.sh Normal file
View file

@ -0,0 +1,18 @@
#!/bin/bash
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# $1: target
write_profile_conf(){
local conf=$1/profile.conf
echo '###manjaro-tools iso-profile.conf###' > ${conf}
echo 'initsys=' >> ${conf}
echo 'displaymanager=' >> ${conf}
}