Răsfoiți Sursa

remove inits that are already in baseimage

sparklyballs 9 ani în urmă
părinte
comite
21d65272ea
2 a modificat fișierele cu 0 adăugiri și 18 ștergeri
  1. 0 5
      init/05_set_the_time.sh
  2. 0 13
      init/10_new_user.sh

+ 0 - 5
init/05_set_the_time.sh

@@ -1,5 +0,0 @@
-#!/bin/bash
-if [[ $(cat /etc/timezone) != $TZ ]] ; then
-  echo "$TZ" > /etc/timezone
- exec  dpkg-reconfigure -f noninteractive tzdata
-fi

+ 0 - 13
init/10_new_user.sh

@@ -1,13 +0,0 @@
-#!/bin/bash
-
-if [ ! "$(id -u abc)" -eq "$PUID" ]; then usermod -o -u "$PUID" abc ; fi
-if [ ! "$(id -g abc)" -eq "$PGID" ]; then groupmod -o -g "$PGID" abc ; fi
-
-echo "
------------------------------------
-GID/UID
------------------------------------
-User uid:    $(id -u abc)
-User gid:    $(id -g abc)
------------------------------------
-"