]> git.proxmox.com Git - pve-manager.git/commitdiff
drop unused and ancient pvenetcommit shell sysv script
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 8 Oct 2021 14:01:13 +0000 (16:01 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 8 Oct 2021 14:01:15 +0000 (16:01 +0200)
Handled by the pvenetcommit.service systemd unit nowadays

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
services/pvenetcommit [deleted file]

diff --git a/services/pvenetcommit b/services/pvenetcommit
deleted file mode 100644 (file)
index 0d8f060..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/sh
-
-### BEGIN INIT INFO
-# Provides:        pvenetcommit
-# Required-Start:  checkroot
-# Required-Stop:
-# Default-Start:   S
-# Default-Stop:
-# Short-Description: commits network changes
-### END INIT INFO
-
-set -e
-
-. /lib/lsb/init-functions
-
-PATH=/sbin:/bin
-
-IFFN=/etc/network/interfaces
-
-# we cant use perl here, because this skript runs before
-# we have /usr mounted
-
-case "$1" in
-    start)
-       # remove OVS config
-       rm -f /etc/openvswitch/conf.db
-
-       if test -f "${IFFN}.new"; then
-           echo "committing new network configuration";
-           if ! mv "${IFFN}.new" $IFFN; then
-               echo "unable to commit changes to '${IFFN}' - $!\n";
-           fi
-       fi
-       ;;
-    stop|restart|force-reload)
-       exit 0
-       ;;
-    *)
-       echo "Usage: /etc/init.d/pvenetcommit {start}"
-       exit 0
-       ;;
-esac
-
-exit 0