#!/usr/bin/sh
#----------------------------------------------------------------------------
# /tmp/install.sh - networkmanager installation
#
# Creation   :  2025-10-10 holbru
# Last update:  $Id$
#
# Copyright (c) 2025-@@YEAR@@ Holger Bruenjes, holgerbruenjes(at)gmx(dot)net
#
# 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; either version 2 of the License, or
# (at your option) any later version.
#----------------------------------------------------------------------------

# set package name
package_name=networkmanager

# ---------------------------------------------------------------------------
# activate
# ---------------------------------------------------------------------------
/usr/sbin/service daemon-reload

if [ ! -f /run/networkmanager-no-restart ]
then
    /usr/sbin/service restart NetworkManager.service
fi

/usr/bin/rm -f /run/networkmanager-no-restart

exit 0
# ---------------------------------------------------------------------------
# end
# ---------------------------------------------------------------------------
