diff --git a/usr/share/librem5/l5-shipme b/usr/share/librem5/l5-shipme index b9fe4f5d1b10464cf5a7243540840e4a27c9d6d3..34c61f8a07cfd2d8d1092ebe24f27c9ec626c17f 100755 --- a/usr/share/librem5/l5-shipme +++ b/usr/share/librem5/l5-shipme @@ -4,16 +4,9 @@ set -e VOLATILE=(/root/.bash_history /home/purism/.bash_history) -function bat_ship_mode () -{ - i2cset -f -y 3 0x6a 0x00 0x88 - # shut off the battery with 10-15 second delay - i2cset -f -y 3 0x6a 0x09 0x6e -} - rm -f "${VOLATILE[@]}" -bat_ship_mode +/usr/lib/systemd/system-shutdown/l5-poweroff-shipmode # self destruct if run form $PATH # so the user can't hit it