summaryrefslogtreecommitdiffstats
path: root/scripts/net-rename
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/net-rename')
-rwxr-xr-xscripts/net-rename26
1 files changed, 0 insertions, 26 deletions
diff --git a/scripts/net-rename b/scripts/net-rename
deleted file mode 100755
index 1a51ffe..0000000
--- a/scripts/net-rename
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/bash
-
-. /usr/lib/network/globals
-
-case "$1" in
- start)
- report_try "Renaming network devices"
- ifrename -p -t
- report_success
-
- add_daemon net-rename
- ;;
- stop)
- rm_daemon net-rename
- # No stop neccesary, but add one to look nice on shutdown.
- /bin/true
- ;;
- restart)
- "$0" start
- ;;
- *)
- exit_stderr "Usage: $0 {start|stop|restart}"
- ;;
-esac
-
-# vim: ft=sh ts=4 et sw=4: