summaryrefslogtreecommitdiffstats
path: root/draklive-install
diff options
context:
space:
mode:
Diffstat (limited to 'draklive-install')
-rwxr-xr-xdraklive-install2
1 files changed, 2 insertions, 0 deletions
diff --git a/draklive-install b/draklive-install
index 42ac2f1..1a941a5 100755
--- a/draklive-install
+++ b/draklive-install
@@ -343,6 +343,8 @@ sub clean_live_system_hds() {
sub finish_installation {
my ($fstab) = @_;
+ #- remove the extra authorisation draklive added
+ run_program::rooted($::prefix, 'sed', '-i', '/for draklive-install/d', '/etc/pam.d/polkit-1');
sync_logs();
#- cleanly umount here, it will avoid fs journals to be corrupted after a hackish reboot
umount_all($fstab);