Update linupx-scripts.sh
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# LinUPx - Linux Update Scripts
|
||||
|
||||
action="$1"
|
||||
@@ -71,6 +71,8 @@ UPDATE2() {
|
||||
}
|
||||
UPDATE3() {
|
||||
export DEBIAN_FRONTEND="noninteractive"
|
||||
source /etc/environment
|
||||
bash /etc/skel/.profile
|
||||
mv -f /opt/runupdates.log.2 /opt/runupdates.log.3
|
||||
mv -f /opt/runupdates.log.1 /opt/runupdates.log.2
|
||||
mv -f /opt/runupdates.log /opt/runupdates.log.1
|
||||
|
||||
Reference in New Issue
Block a user