1 Commits
0.3.1 ... 0.4

Author SHA1 Message Date
udeved
6131156806 reactivate machine-id config 2017-10-01 21:59:18 +02:00
2 changed files with 14 additions and 14 deletions

View File

@@ -41,9 +41,9 @@ livetimer=$(get_timer_ms)
configure_sudoers_d configure_sudoers_d
echo "Configured sudoers: $(elapsed_time_ms ${livetimer})ms" >> "${LOGFILE}" echo "Configured sudoers: $(elapsed_time_ms ${livetimer})ms" >> "${LOGFILE}"
# livetimer=$(get_timer_ms) livetimer=$(get_timer_ms)
# configure_machine_id configure_machine_id
# echo "Configured machine-id: $(elapsed_time_ms ${livetimer})ms" >> "${LOGFILE}" echo "Configured machine-id: $(elapsed_time_ms ${livetimer})ms" >> "${LOGFILE}"
livetimer=$(get_timer_ms) livetimer=$(get_timer_ms)
configure_accountsservice "${username}" configure_accountsservice "${username}"

View File

@@ -269,17 +269,17 @@ configure_language(){
echo "Configured timezone: ${timezone}" >> "${LOGFILE}" echo "Configured timezone: ${timezone}" >> "${LOGFILE}"
} }
# configure_machine_id(){ configure_machine_id(){
# if [ -e "/etc/machine-id" ] ; then if [ -e "/etc/machine-id" ] ; then
# # delete existing machine-id # delete existing machine-id
# echo "Deleting existing machine-id ..." >> "${LOGFILE}" echo "Deleting existing machine-id ..." >> "${LOGFILE}"
# rm /etc/machine-id rm /etc/machine-id
# fi fi
# # set unique machine-id # set unique machine-id
# echo "Setting machine-id ..." >> "${LOGFILE}" echo "Setting machine-id ..." >> "${LOGFILE}"
# dbus-uuidgen --ensure=/etc/machine-id dbus-uuidgen --ensure=/etc/machine-id
# ln -sf /etc/machine-id /var/lib/dbus/machine-id ln -sf /etc/machine-id /var/lib/dbus/machine-id
# } }
configure_sudoers_d(){ configure_sudoers_d(){
echo "%wheel ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/g_wheel echo "%wheel ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/g_wheel